diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2013-11-25 20:34:20 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2013-11-25 20:34:40 +0400 |
commit | d85009a2e91a2221de60d3fe5f5f88bf31879008 (patch) | |
tree | 41646d6702c713c7ecefc4aa4e75f74453601cc8 /src | |
parent | 72d2ac09e3e14cf8b146e51e82e88ef604099e27 (diff) |
Account Settings: fix connect error
Fixes #1198
Diffstat (limited to 'src')
-rw-r--r-- | src/mirall/accountsettings.cpp | 8 | ||||
-rw-r--r-- | src/mirall/accountsettings.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mirall/accountsettings.cpp b/src/mirall/accountsettings.cpp index f75b885e1..b40bb2ba9 100644 --- a/src/mirall/accountsettings.cpp +++ b/src/mirall/accountsettings.cpp @@ -168,7 +168,7 @@ void AccountSettings::slotFolderWizardAccepted() folderMan->slotScheduleAllFolders(); emit folderChanged(); } - buttonsSetEnabled(); + slotButtonsSetEnabled(); } void AccountSettings::slotFolderWizardRejected() @@ -193,12 +193,12 @@ void AccountSettings::slotAddFolder( Folder *folder ) folderToModelItem( item, folder ); _model->appendRow( item ); // in order to update the enabled state of the "Sync now" button - connect(folder, SIGNAL(syncStateChange()), this, SLOT(buttonsSetEnabled()), Qt::UniqueConnection); + connect(folder, SIGNAL(syncStateChange()), this, SLOT(slotButtonsSetEnabled()), Qt::UniqueConnection); } -void AccountSettings::buttonsSetEnabled() +void AccountSettings::slotButtonsSetEnabled() { bool haveFolders = ui->_folderList->model()->rowCount() > 0; @@ -379,7 +379,7 @@ void AccountSettings::setFolderList( const Folder::Map &folders ) if (idx.isValid()) { ui->_folderList->setCurrentIndex(idx); } - buttonsSetEnabled(); + slotButtonsSetEnabled(); } diff --git a/src/mirall/accountsettings.h b/src/mirall/accountsettings.h index 0b9b1f65a..ed9f462f3 100644 --- a/src/mirall/accountsettings.h +++ b/src/mirall/accountsettings.h @@ -49,7 +49,6 @@ public: ~AccountSettings(); void setFolderList( const Folder::Map& ); - void buttonsSetEnabled(); signals: void folderChanged(); @@ -65,6 +64,7 @@ public slots: void slotFolderOpenAction( const QString& ); void slotSetProgress(const QString&, const Progress::Info& progress); void slotProgressProblem(const QString& folder, const Progress::SyncProblem& problem); + void slotButtonsSetEnabled(); void slotUpdateQuota( qint64,qint64 ); void slotIgnoreFilesEditor(); |