diff options
author | Klaas Freitag <freitag@owncloud.com> | 2013-02-19 15:04:36 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2013-02-19 15:04:36 +0400 |
commit | 6d6deaf6c46a5c1bed810b933963be36507ea3d2 (patch) | |
tree | dc10c823892c56ce91f71fb8afb7c29c86964b5a /src | |
parent | 9c63b89bac9596a818540e8452abc96bf447a349 (diff) |
Setup folders added after setup wizard ended.
Diffstat (limited to 'src')
-rw-r--r-- | src/mirall/application.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index 574ea6c1b..9cf26fc3e 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -177,7 +177,6 @@ Application::Application(int &argc, char **argv) : int cnt = _folderMan->setupFolders(); _statusDialog->setFolderList( _folderMan->map() ); - QObject::connect( this, SIGNAL(messageReceived(QString)), this, SLOT(slotOpenStatus()) ); @@ -423,7 +422,9 @@ void Application::slotSSLFailed( QNetworkReply *reply, QList<QSslError> errors ) void Application::slotownCloudWizardDone( int res ) { if( res == QDialog::Accepted ) { - + int cnt = _folderMan->setupFolders(); + qDebug() << "Set up " << cnt << " folders."; + _statusDialog->setFolderList( _folderMan->map() ); } _folderMan->setSyncEnabled( true ); slotStartFolderSetup( res ); |