mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
Fixed close of RetroShare when closing MessengerWindow.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bacf1f5a80
commit
4753e540ba
@ -163,6 +163,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
#ifdef MINIMAL_RSGUI
|
||||
MessengerWindow::showYourself();
|
||||
|
||||
rshare.setQuitOnLastWindowClosed(true);
|
||||
#else
|
||||
MainWindow *w = MainWindow::Create ();
|
||||
|
||||
@ -214,8 +216,6 @@ int main(int argc, char *argv[])
|
||||
timer->start(1000);
|
||||
#endif // MINIMAL_RSGUI
|
||||
|
||||
rshare.setQuitOnLastWindowClosed(true);
|
||||
|
||||
/* dive into the endless loop */
|
||||
int ti = rshare.exec();
|
||||
#ifndef MINIMAL_RSGUI
|
||||
|
Loading…
Reference in New Issue
Block a user