Added Start Minimised Option to GUI.

Updated Version Number to V0.4.09a



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@601 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-06-14 13:24:22 +00:00
parent c47c751532
commit 2c22ccd0d7
4 changed files with 8 additions and 11 deletions

View file

@ -51,6 +51,7 @@ int main(int argc, char *argv[])
/* RetroShare Core Objects */
RsInit *config = InitRsConfig();
bool okStart = InitRetroShare(argc, argv, config);
bool startMinimised = RsConfigStartMinimised(config);
/* Setup The GUI Stuff */
@ -143,20 +144,14 @@ int main(int argc, char *argv[])
notify->setChannelsDialog(w->channelsDialog);
notify->setMessengerWindow(w->messengerWindow);
/* only show window, if not autologin */
#if defined(Q_OS_WIN)
if (!okStart)
/* only show window, if not startMinimised */
if (!startMinimised)
{
w->show();
//skinWindow->show();
}
#else
w->show();
//skinWindow->show();
#endif
/* Startup a Timer to keep the gui's updated */
QTimer *timer = new QTimer(w);