Remove C++11ism that doesn't work with older GCCs

This commit is contained in:
Daniel Molkentin 2014-10-08 18:56:30 +02:00
parent 9d5d6aff38
commit 6c8eab734e
2 changed files with 2 additions and 2 deletions

View file

@ -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)));

View file

@ -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;
};