From a991319eb0cdc878d951090abb1eaccab29e5e7f Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Wed, 7 Oct 2015 13:51:26 +0200 Subject: setupCmds at the end of readConfig --- src/crsm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/crsm.cpp b/src/crsm.cpp index dd8605d..5c478d8 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -68,8 +68,6 @@ CRSM::CRSM(QObject *parent) : QFile sessionFile(SESSION_FILE_NAME); if(sessionFile.exists()) sessionFile.remove(); - setupCmds(); - connect(&greetMapper, SIGNAL(mapped(QString)), this, SLOT(greet(QString))); autoHost = Config.Hosting.Auto; @@ -752,6 +750,7 @@ void CRSM::readConfig() ok = false; exit(); } + setupCmds(); return; } -- cgit v1.2.3-54-g00ecf