Account Settings: Don't disable double click expanding for sub folders
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 19 Oct 2015 16:12:49 +0000 (18:12 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Mon, 19 Oct 2015 16:12:49 +0000 (18:12 +0200)
The root folder open on simple click,  but the sub folder don't, so keep
this behaviour which is the native behaviour

src/gui/accountsettings.cpp

index 8324de9784bca959a5aefb155dc9e97c07879d38..39cbdd2269485f2c065e06fcaa9fca3f9dcd93bf 100644 (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&)));
 }