mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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
This commit is contained in:
parent
6c9d701506
commit
5fbb6448d3
@ -322,6 +322,8 @@ int main(int argc, char *argv[])
|
|||||||
timer -> connect(timer, SIGNAL(timeout()), notify, SLOT(UpdateGUI()));
|
timer -> connect(timer, SIGNAL(timeout()), notify, SLOT(UpdateGUI()));
|
||||||
timer->start(1000);
|
timer->start(1000);
|
||||||
|
|
||||||
|
notify->enable() ; // enable notification system after GUI creation, to avoid data races in Qt.
|
||||||
|
|
||||||
/* dive into the endless loop */
|
/* dive into the endless loop */
|
||||||
int ti = rshare.exec();
|
int ti = rshare.exec();
|
||||||
delete w ;
|
delete w ;
|
||||||
|
Loading…
Reference in New Issue
Block a user