From 3bb1f7d2ce551f799e1509eb1085641f81866eed Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 15 Oct 2015 23:09:51 +0200 Subject: Move CRSM_SESSION_FILE into Config.CRSM.SessionFile --- src/crsm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/crsm.cpp') 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(); } -- cgit v1.2.3-54-g00ecf