Account Settings: Don't disable double click expanding for sub folders

The root folder open on simple click,  but the sub folder don't, so keep
this behaviour which is the native behaviour
This commit is contained in:
Olivier Goffart 2015-10-19 18:12:49 +02:00
parent 374f29c4d3
commit ee69ab2021

View File

@ -126,8 +126,6 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) :
connect(ui->signInButton, SIGNAL(clicked()) , this, SLOT(slotSignInAccount()));
connect(ui->deleteButton, SIGNAL(clicked()) , this, SLOT(slotDeleteAccount()));
// Expand already on single click
ui->_folderList->setExpandsOnDoubleClick(false);
QObject::connect(ui->_folderList, SIGNAL(clicked(const QModelIndex &)),
this, SLOT(slotFolderListClicked(const QModelIndex&)));
}