diff --git a/src/mirall/selectivesyncdialog.cpp b/src/mirall/selectivesyncdialog.cpp index 2c13f6432..1edacb401 100644 --- a/src/mirall/selectivesyncdialog.cpp +++ b/src/mirall/selectivesyncdialog.cpp @@ -31,7 +31,7 @@ namespace Mirall { SelectiveSyncTreeView::SelectiveSyncTreeView(Account *account, QWidget* parent) - : QTreeWidget(parent), _account(account) + : QTreeWidget(parent), _inserting(false), _account(account) { connect(this, SIGNAL(itemExpanded(QTreeWidgetItem*)), this, SLOT(slotItemExpanded(QTreeWidgetItem*))); connect(this, SIGNAL(itemChanged(QTreeWidgetItem*,int)), this, SLOT(slotItemChanged(QTreeWidgetItem*,int))); diff --git a/src/mirall/selectivesyncdialog.h b/src/mirall/selectivesyncdialog.h index 3a618e793..635421b5c 100644 --- a/src/mirall/selectivesyncdialog.h +++ b/src/mirall/selectivesyncdialog.h @@ -46,7 +46,7 @@ private: QString _folderPath; QString _rootName; QStringList _oldBlackList; - bool _inserting = false; // set to true when we are inserting new items on the list + bool _inserting; // set to true when we are inserting new items on the list Account *_account; };