X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=27243780f7be511be06118dd1ae21130476a26cd;hp=bf0395edee4ebbeb2b21ee5812188c59828f9f13;hb=16f8531e383eade0a75a3b74ea11b909b8b1e049;hpb=366f5e334c898bef4b88605cf5cf2ee2feabffb1;ds=sidebyside diff --git a/src/core/core.cpp b/src/core/core.cpp index bf0395ed..27243780 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -66,7 +66,7 @@ Core::Core() : storage(0) { + ((format == QSettings::NativeFormat) ? QLatin1String(".conf") : QLatin1String(".ini")); QSettings newSettings(newFilePath, format); - if(newSettings.value("General/Version").toUInt() != 1) { + if(newSettings.value("Config/Version").toUInt() != 1) { 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";