diff main/main.cpp @ 6:d4487202d0e8

* Replace all uses of ConfigFile with QSettings
author Chris Cannam
date Thu, 03 Aug 2006 16:04:00 +0000
parents 0a687ed1b50f
children c3ef80114040
line wrap: on
line diff
--- a/main/main.cpp	Thu Aug 03 15:40:11 2006 +0000
+++ b/main/main.cpp	Thu Aug 03 16:04:00 2006 +0000
@@ -20,7 +20,6 @@
 #include "base/TempDirectory.h"
 #include "base/PropertyContainer.h"
 #include "base/Preferences.h"
-#include "base/ConfigFile.h"
 
 #include <QMetaType>
 #include <QApplication>
@@ -64,9 +63,9 @@
 
     svSystemSpecificInitialisation();
 
-    QApplication::setOrganizationName("Sonic Visualiser");
+    QApplication::setOrganizationName("sonic-visualiser");
     QApplication::setOrganizationDomain("sonicvisualiser.org");
-    QApplication::setApplicationName("Sonic Visualiser");
+    QApplication::setApplicationName("sonic-visualiser");
 
     QString language = QLocale::system().name();
 
@@ -127,7 +126,6 @@
 
     cleanupMutex.lock();
     TempDirectory::getInstance()->cleanup();
-    Preferences::getInstance()->getConfigFile()->commit();
 
     return rv;
 }