mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-05 03:39:58 +02: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();
|
parseArguments();
|
||||||
initLanguage();
|
initLanguage();
|
||||||
initStyle();
|
|
||||||
initSystemTray();
|
|
||||||
initConfiguration();
|
initConfiguration();
|
||||||
|
|
||||||
if (!non_interactive_execution_ && isRunning()) {
|
if (!non_interactive_execution_ && isRunning()) {
|
||||||
@@ -54,6 +52,9 @@ QETApp::QETApp(int &argc, char **argv) :
|
|||||||
std::exit(EXIT_SUCCESS);
|
std::exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
initStyle();
|
||||||
|
initSystemTray();
|
||||||
|
|
||||||
// prise en compte des messages des autres instances
|
// prise en compte des messages des autres instances
|
||||||
connect(this, SIGNAL(messageAvailable(QString)), this, SLOT(messageReceived(const QString&)));
|
connect(this, SIGNAL(messageAvailable(QString)), this, SLOT(messageReceived(const QString&)));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user