diff options
author | Simon Rettberg | 2014-05-04 12:56:35 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-05-04 12:56:35 +0200 |
commit | 5103900bfeb0feced5b58d68924479bfc73d8ec5 (patch) | |
tree | 34a0d8145b6f3585e3cc4ae3a2f5a70e1a5db984 /src/globals.cpp | |
parent | shut up eclipse about missing break (diff) | |
download | vmchooser2-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/globals.cpp')
-rw-r--r-- | src/globals.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/globals.cpp b/src/globals.cpp index 876d35c..cbaca28 100644 --- a/src/globals.cpp +++ b/src/globals.cpp @@ -15,13 +15,14 @@ QString sessionStartScript(VMCHOOSER_SESSION_START_SCRIPT); const QString globalConfFile(etcPath + "/vmchooser.conf"); const QString userConfFile(userPath + "/vmchooser.conf"); -const QString previousSessionFile(userPath + "/vmchooser_prev_session"); +const QString previousSessionFile(userPath + "/vmchooser_prev_session.ini"); bool debugMode = false; bool pvsEnabled = false; QString pool; QString theme; +QString basePath; const QString iconsTempPath("/tmp/vmchooser2/icons/"); const QString xml_filename("/tmp/vmchooser2/vmchooser2.xml"); |