mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
fixed startMinized now it works
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1209 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
dab5ae98f8
commit
281f4b95f3
3 changed files with 30 additions and 63 deletions
|
@ -25,6 +25,7 @@
|
|||
#include <gui/MainWindow.h>
|
||||
#include <gui/StartDialog.h>
|
||||
#include <gui/GenCertDialog.h>
|
||||
#include <gui/Preferences/GeneralDialog.h>
|
||||
#include <gui/Preferences/rsharesettings.h>
|
||||
#include <gui/connect/ConfCertDialog.h>
|
||||
|
||||
|
@ -59,7 +60,7 @@ int main(int argc, char *argv[])
|
|||
bool startMinimised = RsConfigStartMinimised(config);
|
||||
*/
|
||||
|
||||
bool startMinimised = false;
|
||||
//bool startMinimized = false;
|
||||
|
||||
/* Setup The GUI Stuff */
|
||||
Rshare rshare(args, argc, argv,
|
||||
|
@ -176,7 +177,9 @@ int main(int argc, char *argv[])
|
|||
QObject::connect(ConfCertDialog::instance(),SIGNAL(configChanged()),w->networkDialog,SLOT(insertConnect())) ;
|
||||
|
||||
/* only show window, if not startMinimized */
|
||||
if (!startMinimised)
|
||||
RshareSettings *_settings = new RshareSettings();
|
||||
|
||||
if(!_settings->value(QString::fromUtf8("StartMinimized"), false).toBool())
|
||||
{
|
||||
|
||||
w->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue