bool QtUiApplication::init() {
if(Quassel::init()) {
+#ifndef Q_WS_MAC
// FIXME: MIGRATION 0.3 -> 0.4: Move database and core config to new location
// Move settings, note this does not delete the old files
#ifdef Q_WS_WIN
+ ((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 client settings...";
# ifdef Q_WS_MAC
QString org = "quassel-irc.org";
}
qWarning() << "*** Migration completed.\n\n";
}
-
+#endif /* !Q_WS_MAC */
// MIGRATION end
// session resume
}
void QtUiApplication::commitData(QSessionManager &manager) {
+ Q_UNUSED(manager)
_aboutToQuit = true;
}