summaryrefslogtreecommitdiffstats
path: root/src/choosersettings.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2014-05-04 12:56:35 +0200
committerSimon Rettberg2014-05-04 12:56:35 +0200
commit5103900bfeb0feced5b58d68924479bfc73d8ec5 (patch)
tree34a0d8145b6f3585e3cc4ae3a2f5a70e1a5db984 /src/choosersettings.cpp
parentshut up eclipse about missing break (diff)
downloadvmchooser2-5103900bfeb0feced5b58d68924479bfc73d8ec5.tar.gz
vmchooser2-5103900bfeb0feced5b58d68924479bfc73d8ec5.tar.xz
vmchooser2-5103900bfeb0feced5b58d68924479bfc73d8ec5.zip
Lots of fixes, cleanup, refactoring
* Added command line option to set the base path where images can be accessed locally, in case NFS/CIFS is used. * Sorted command line options in source file to make it easier to add new options (prevent accidental shortopt collisions). * Disable "My Courses" button if the list is empty. * Added some TODO notes :>
Diffstat (limited to 'src/choosersettings.cpp')
-rw-r--r--src/choosersettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/choosersettings.cpp b/src/choosersettings.cpp
index 2b8b9ac..ecaa6e7 100644
--- a/src/choosersettings.cpp
+++ b/src/choosersettings.cpp
@@ -20,7 +20,7 @@ ChooserSettings::ChooserSettings() {
}
}
- settings = new QSettings(previousSessionFile + ".ini", QSettings::IniFormat);
+ settings = new QSettings(previousSessionFile, QSettings::IniFormat);
settings->setIniCodec("UTF-8");
if (settings->status() != QSettings::NoError) {