From 5103900bfeb0feced5b58d68924479bfc73d8ec5 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sun, 4 May 2014 12:56:35 +0200 Subject: 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 :> --- src/globals.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/globals.cpp') 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"); -- cgit v1.2.3-55-g7522