mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Reactivate command line switch -m for start minimized.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3848 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d673d42ba9
commit
42fb103738
@ -103,13 +103,6 @@ int main(int argc, char *argv[])
|
||||
in this case it can be use only for default values */
|
||||
RshareSettings::Create ();
|
||||
|
||||
/*
|
||||
Function RsConfigMinimised is not available in SVN, so I commented it out.
|
||||
bool startMinimised = RsConfigStartMinimised(config);
|
||||
*/
|
||||
|
||||
//bool startMinimized = false;
|
||||
|
||||
/* Setup The GUI Stuff */
|
||||
Rshare rshare(args, argc, argv,
|
||||
QString::fromStdString(RsInit::RsConfigDirectory()));
|
||||
@ -269,11 +262,11 @@ int main(int argc, char *argv[])
|
||||
w->installGroupChatNotifier();
|
||||
|
||||
/* only show window, if not startMinimized */
|
||||
if(!Settings->value(QString::fromUtf8("StartMinimized"), false).toBool())
|
||||
if (RsInit::setStartMinimised() || Settings->value("StartMinimized", false).toBool())
|
||||
{
|
||||
w->show();
|
||||
} else {
|
||||
splashScreen.close();
|
||||
} else {
|
||||
w->show();
|
||||
}
|
||||
|
||||
/* Startup a Timer to keep the gui's updated */
|
||||
|
Loading…
Reference in New Issue
Block a user