Skip to content
Snippets Groups Projects
Commit 4fff46bf authored by Silas Dohm's avatar Silas Dohm
Browse files

unused copy constructor removed

parent 03aae64d
Branches
No related tags found
1 merge request!2backtracking
......@@ -31,15 +31,6 @@ Cell::Cell(QWidget *parent) : QWidget(parent)
connect(m_number,SIGNAL(clicked()),this,SLOT(un()));
}
Cell::Cell(const Cell &old_obj){
possibleStates = old_obj.possibleStates;
collapsed = old_obj.collapsed;
index = old_obj.index;
m_number = new QPushButton(old_obj.m_number);
//m_states = old_obj.m_states;
qInfo("aaa");
}
void Cell::collapse(int x)
{
collapsed = true;
......
......@@ -9,7 +9,6 @@ class Cell : public QWidget
Q_OBJECT
public:
explicit Cell(QWidget *parent = 0);
Cell (const Cell &old_obj);
int possibleStates=9;
bool collapsed = false;
std::vector<int> index={0,1,2,3,4,5,6,7,8};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment