X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=aa4f692f9aa888dd4ff560f96f93a78a6559d48e;hp=38272e3e1b602b23a71c79311c2b4580f96f16a7;hb=e94adb7dab9f1dfcb9f792912a365e6c72728d82;hpb=661013d9d9588cd5383dbb0838dcfd35c95ba5ad diff --git a/src/core/core.cpp b/src/core/core.cpp index 38272e3e..aa4f692f 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -72,7 +72,6 @@ Core::Core() : storage(0) { #endif /* Q_WS_MAC */ if(newSettings.value("Config/Version").toUInt() == 0) { - qWarning() << "\n\n*** IMPORTANT: Config and data file locations have changed. Attempting to auto-migrate your core settings..."; # ifdef Q_WS_MAC QString org = "quassel-irc.org"; # else @@ -80,6 +79,7 @@ Core::Core() : storage(0) { # endif QSettings oldSettings(org, "Quassel Core"); if(oldSettings.allKeys().count()) { + qWarning() << "\n\n*** IMPORTANT: Config and data file locations have changed. Attempting to auto-migrate your core settings..."; foreach(QString key, oldSettings.allKeys()) newSettings.setValue(key, oldSettings.value(key)); newSettings.setValue("Config/Version", 1);