mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-27 14:20:52 +01:00
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
This commit is contained in:
@@ -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&)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user