Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2013-12-10 15:46:00 +0400
committerOlivier Goffart <ogoffart@woboq.com>2013-12-10 15:48:59 +0400
commitb6e4575dea7f59bf12ab934615cbaec7c52bbd54 (patch)
tree2ae3158f1f4bd44a91030c7a395387b29c303f6b /src/main.cpp
parentebfe2c793e01dce999b7cbbf38d1663224098170 (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.cpp1
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