From 3932297962d7394574346c016c38ef5103dc5a7c Mon Sep 17 00:00:00 2001 From: Jan Darmochwal Date: Thu, 7 Oct 2010 14:53:20 +0200 Subject: Support for command line arguments and conf files * anyoption has been replaced by getopt * replaces huge unmaintainable .cpp and .h files from an external source by standard POSIX library calls * I would suggest using Boost.Program_options if cross-platform support is needed * support user/global configuration file --- src/vsession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vsession.cpp') diff --git a/src/vsession.cpp b/src/vsession.cpp index 249594a..f3d2604 100644 --- a/src/vsession.cpp +++ b/src/vsession.cpp @@ -186,7 +186,6 @@ bool VSession::run() const { // TODO: save session return true; } - return false; } @@ -212,6 +211,7 @@ bool VSession::run() const { tmpfile.setAutoRemove(false); // TODO: put script name in constant + // TODO: check if run-virt.sh exists QString runVmScript(QString(VMCHOOSER_BIN_PATH) + "run-virt.sh"); if (QProcess::startDetached(runVmScript, QStringList(tmpfile.fileName()))) { // TODO: save session -- cgit v1.2.3-55-g7522