diff --git a/qetapp.cpp b/qetapp.cpp index bc0945638..d11b901d8 100644 --- a/qetapp.cpp +++ b/qetapp.cpp @@ -38,8 +38,6 @@ QETApp::QETApp(int &argc, char **argv) : { parseArguments(); initLanguage(); - initStyle(); - initSystemTray(); initConfiguration(); if (!non_interactive_execution_ && isRunning()) { @@ -54,6 +52,9 @@ QETApp::QETApp(int &argc, char **argv) : std::exit(EXIT_SUCCESS); } + initStyle(); + initSystemTray(); + // prise en compte des messages des autres instances connect(this, SIGNAL(messageAvailable(QString)), this, SLOT(messageReceived(const QString&)));