mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 08:29:32 -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
|
#ifdef MINIMAL_RSGUI
|
||||||
MessengerWindow::showYourself();
|
MessengerWindow::showYourself();
|
||||||
|
|
||||||
|
rshare.setQuitOnLastWindowClosed(true);
|
||||||
#else
|
#else
|
||||||
MainWindow *w = MainWindow::Create ();
|
MainWindow *w = MainWindow::Create ();
|
||||||
|
|
||||||
@ -214,8 +216,6 @@ int main(int argc, char *argv[])
|
|||||||
timer->start(1000);
|
timer->start(1000);
|
||||||
#endif // MINIMAL_RSGUI
|
#endif // MINIMAL_RSGUI
|
||||||
|
|
||||||
rshare.setQuitOnLastWindowClosed(true);
|
|
||||||
|
|
||||||
/* dive into the endless loop */
|
/* dive into the endless loop */
|
||||||
int ti = rshare.exec();
|
int ti = rshare.exec();
|
||||||
#ifndef MINIMAL_RSGUI
|
#ifndef MINIMAL_RSGUI
|
||||||
|
Loading…
Reference in New Issue
Block a user