diff options
author | Christian Klinger | 2016-09-30 12:02:38 +0200 |
---|---|---|
committer | Christian Klinger | 2016-09-30 12:02:38 +0200 |
commit | 877607b07f30cbb8d7d8d06b1b91383095fdc144 (patch) | |
tree | 4c2ca41db4b9caa8e6c370237771d58bd99d7f13 /src/client/clientapp | |
parent | added a pre-commit hook for astyle. (diff) | |
download | pvs2-877607b07f30cbb8d7d8d06b1b91383095fdc144.tar.gz pvs2-877607b07f30cbb8d7d8d06b1b91383095fdc144.tar.xz pvs2-877607b07f30cbb8d7d8d06b1b91383095fdc144.zip |
refactoring.
Diffstat (limited to 'src/client/clientapp')
-rw-r--r-- | src/client/clientapp/clientapp.cpp | 1 | ||||
-rw-r--r-- | src/client/clientapp/clientapp.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/client/clientapp/clientapp.cpp b/src/client/clientapp/clientapp.cpp index 18ef0de..e1ef22c 100644 --- a/src/client/clientapp/clientapp.cpp +++ b/src/client/clientapp/clientapp.cpp @@ -11,6 +11,7 @@ ClientApp::ClientApp(int& argc, char** argv) /* configuration */ QSettings::setPath(QSettings::IniFormat, QSettings::SystemScope, "/opt/"); + /* parse parameters and keep the unparsed ones */ _arguments = parseParameters(); diff --git a/src/client/clientapp/clientapp.h b/src/client/clientapp/clientapp.h index 910eba2..e7e6e57 100644 --- a/src/client/clientapp/clientapp.h +++ b/src/client/clientapp/clientapp.h @@ -23,8 +23,8 @@ public: enum ConnectionMode { None, Auto, Session }; private: - bool _examMode; ConnectionMode _connectionMode; /* way of automatically connection to a session on startup*/ + bool _examMode; QString _sessionName; /* only set when _connectionMode == Session */ Toolbar* _toolbar; QStringList _arguments; |