From 5fbb6448d309b9d0b9b33d59511db4016ef2185f Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 15 May 2012 20:35:05 +0000 Subject: [PATCH] main enabled notifyQt after creation of GUI git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5171 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retroshare-gui/src/main.cpp b/retroshare-gui/src/main.cpp index b1f9617e9..40b7d32ad 100644 --- a/retroshare-gui/src/main.cpp +++ b/retroshare-gui/src/main.cpp @@ -322,6 +322,8 @@ int main(int argc, char *argv[]) timer -> connect(timer, SIGNAL(timeout()), notify, SLOT(UpdateGUI())); timer->start(1000); + notify->enable() ; // enable notification system after GUI creation, to avoid data races in Qt. + /* dive into the endless loop */ int ti = rshare.exec(); delete w ;