Making Quassel compile on Mac OS _AGAIN_ -.-
authorMarcus Eggenberger <egs@quassel-irc.org>
Sun, 25 Jan 2009 23:54:36 +0000 (00:54 +0100)
committerMarcus Eggenberger <egs@quassel-irc.org>
Sun, 25 Jan 2009 23:54:36 +0000 (00:54 +0100)
src/core/core.cpp
src/qtui/qtuiapplication.cpp

index 92e0908..aa1b7d4 100644 (file)
@@ -81,7 +81,7 @@ Core::Core() : storage(0) {
       foreach(QString key, oldSettings.allKeys())
         newSettings.setValue(key, oldSettings.value(key));
       newSettings.setValue("Config/Version", 1);
-      qWarning() << "*   Your core settings have been migrated to" << newFilePath;
+      qWarning() << "*   Your core settings have been migrated to" << newSettings.fileName();
 
 #ifndef Q_WS_MAC /* we don't need to move the db and cert for mac */
 #ifdef Q_OS_WIN32
@@ -114,10 +114,10 @@ Core::Core() : storage(0) {
         else
           qWarning() << "!!! Moving your certificate has failed. Please move it manually into" << Quassel::configDirPath();
       }
+#endif /* !Q_WS_MAC */
       qWarning() << "*** Migration completed.\n\n";
     }
   }
-#endif /* !Q_WS_MAC */
   // MIGRATION end
 
   // check settings version
index c1cf2c9..de9844f 100644 (file)
@@ -94,7 +94,7 @@ bool QtUiApplication::init() {
         foreach(QString key, oldSettings.allKeys())
           newSettings.setValue(key, oldSettings.value(key));
         newSettings.setValue("Config/Version", 1);
-        qWarning() << "*   Your client settings have been migrated to" << newFilePath;
+        qWarning() << "*   Your client settings have been migrated to" << newSettings.fileName();
         qWarning() << "*** Migration completed.\n\n";
       }
     }