Pop up config wizard if no server url is configured.

Fixes #1018.
This commit is contained in:
Daniel Molkentin 2013-09-19 17:24:22 +02:00
parent a057eb8590
commit ec5a84cf01

View File

@ -671,7 +671,7 @@ bool Application::checkConfigExists(bool openSettings)
// if no config file is there, start the configuration wizard.
MirallConfigFile cfgFile;
if( cfgFile.exists() ) {
if( cfgFile.exists() && !cfgFile.ownCloudUrl().isEmpty() ) {
if( openSettings ) {
slotSettings();
}