mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Settings: Fix "Choose what to sync" #4187
There was a duplicate connect() due to a merge problem (?) in
7e4c0bd515
This commit is contained in:
parent
7e56408331
commit
2982c79444
1 changed files with 2 additions and 5 deletions
|
@ -109,6 +109,8 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) :
|
||||||
connect(syncNowAction, SIGNAL(triggered()), SLOT(slotSyncCurrentFolderNow()));
|
connect(syncNowAction, SIGNAL(triggered()), SLOT(slotSyncCurrentFolderNow()));
|
||||||
addAction(syncNowAction);
|
addAction(syncNowAction);
|
||||||
|
|
||||||
|
// Expand already on single click
|
||||||
|
ui->_folderList->setExpandsOnDoubleClick(false);
|
||||||
connect(ui->_folderList, SIGNAL(clicked(const QModelIndex &)),
|
connect(ui->_folderList, SIGNAL(clicked(const QModelIndex &)),
|
||||||
this, SLOT(slotFolderListClicked(const QModelIndex&)));
|
this, SLOT(slotFolderListClicked(const QModelIndex&)));
|
||||||
|
|
||||||
|
@ -150,11 +152,6 @@ void AccountSettings::createAccountToolbox()
|
||||||
ui->_accountToolbox->setText(tr("Account") + QLatin1Char(' '));
|
ui->_accountToolbox->setText(tr("Account") + QLatin1Char(' '));
|
||||||
ui->_accountToolbox->setMenu(menu);
|
ui->_accountToolbox->setMenu(menu);
|
||||||
ui->_accountToolbox->setPopupMode(QToolButton::InstantPopup);
|
ui->_accountToolbox->setPopupMode(QToolButton::InstantPopup);
|
||||||
|
|
||||||
// Expand already on single click
|
|
||||||
ui->_folderList->setExpandsOnDoubleClick(false);
|
|
||||||
QObject::connect(ui->_folderList, SIGNAL(clicked(const QModelIndex &)),
|
|
||||||
this, SLOT(slotFolderListClicked(const QModelIndex&)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountSettings::slotOpenAccountWizard()
|
void AccountSettings::slotOpenAccountWizard()
|
||||||
|
|
Loading…
Reference in a new issue