From 7f520f0b8d9d0e2043b62a1b5d0a357d9bc96165 Mon Sep 17 00:00:00 2001 From: xavierqet Date: Sun, 20 Jul 2008 12:50:12 +0000 Subject: [PATCH] Modification pour Windows : evite d'initialiser le systray lorsqu'une nouvelle instance est lancee. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@354 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- qetapp.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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&)));