diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2013-12-10 15:46:00 +0400 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2013-12-10 15:48:59 +0400 |
commit | b6e4575dea7f59bf12ab934615cbaec7c52bbd54 (patch) | |
tree | 2ae3158f1f4bd44a91030c7a395387b29c303f6b /src/main.cpp | |
parent | ebfe2c793e01dce999b7cbbf38d1663224098170 (diff) |
Do not initialize all the application if another instance is running
This fixes a crash becasue we were constructing the systemtray and then
destroying it too early before the systemtray could initilize itself.
(This work around a bug in QSystemTray which crashes if it is destroyed
before it is registered to the X11 server)
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 33890726d..043f800dc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -35,7 +35,6 @@ int main(int argc, char **argv) Q_INIT_RESOURCE(mirall); Mirall::Application app(argc, argv); - app.initialize(); #ifndef Q_OS_WIN signal(SIGPIPE, SIG_IGN); #endif |