diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2015-10-15 23:09:51 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2015-10-15 23:09:51 +0200 |
| commit | 3bb1f7d2ce551f799e1509eb1085641f81866eed (patch) | |
| tree | d5621390d91c0f5caab0077e94799ebb3bfe343c /src/crsm.cpp | |
| parent | f6f6860c0365409a0389681e65e5c46b56db1690 (diff) | |
| download | manager-3bb1f7d2ce551f799e1509eb1085641f81866eed.tar.gz manager-3bb1f7d2ce551f799e1509eb1085641f81866eed.zip | |
Move CRSM_SESSION_FILE into Config.CRSM.SessionFile
Diffstat (limited to 'src/crsm.cpp')
| -rw-r--r-- | src/crsm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crsm.cpp b/src/crsm.cpp index 72c5167..fb20ebf 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -59,10 +59,10 @@ CRSM::CRSM(QObject *parent) : if(processManager->isRunning()) { - Session.read(SESSION_FILE_NAME, false); + Session.read(Config.CRSM.SessionFile, false); writeToServer("Der Server Manager läuft wieder.\nBis zur nächsten Runde könnte unerwartetes Verhalten auftreten.\n"); } - QFile sessionFile(SESSION_FILE_NAME); + QFile sessionFile(Config.CRSM.SessionFile); if(sessionFile.exists()) sessionFile.remove(); connect(&greetMapper, SIGNAL(mapped(QString)), this, SLOT(greet(QString))); @@ -299,7 +299,7 @@ void CRSM::readInput() } Config.Auto.ProcessManager.ReattachId = processManager->ID(); writeConfig(); - Session.write(SESSION_FILE_NAME); + Session.write(Config.CRSM.SessionFile); QCoreApplication::quit(); return; } @@ -2163,7 +2163,7 @@ CMD_FUNCTION_IMPL(exit) CMD_FUNCTION_IMPL(exitDetach) Config.Auto.ProcessManager.ReattachId = processManager->ID(); writeConfig(); - Session.write(SESSION_FILE_NAME); + Session.write(Config.CRSM.SessionFile); QCoreApplication::quit(); } |
