mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 15:45:04 -04:00
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:
parent
c47c751532
commit
2c22ccd0d7
4 changed files with 8 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue