mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 14:39:34 -05:00
added a checkbox to can disable Quick Start Wizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
96147a9734
commit
eb33fa9014
@ -169,6 +169,8 @@ void QuickStartWizard::on_pushButtonSystemFinish_clicked()
|
||||
|
||||
_settings->setRunRetroshareOnBoot(ui.checkBoxRunRetroshareAtSystemStartup->isChecked());
|
||||
|
||||
_settings->setValue(QString::fromUtf8("FirstRun"), firstRunWizard());
|
||||
|
||||
saveChanges();
|
||||
|
||||
close();
|
||||
@ -355,7 +357,7 @@ QuickStartWizard::loadGeneral()
|
||||
|
||||
ui.checkBoxQuit->setChecked(_settings->value(QString::fromUtf8("doQuit"), false).toBool());
|
||||
|
||||
|
||||
ui.checkBoxQuickWizard->setChecked(_settings->value(QString::fromUtf8("FirstRun"), false).toBool());
|
||||
}
|
||||
|
||||
bool QuickStartWizard::quitbox() const {
|
||||
@ -368,6 +370,11 @@ bool QuickStartWizard::startMinimized() const {
|
||||
return ui.checkBoxStartMinimized->isChecked();
|
||||
}
|
||||
|
||||
bool QuickStartWizard::firstRunWizard() const {
|
||||
if(ui.checkBoxQuickWizard->isChecked()) return true;
|
||||
return ui.checkBoxQuickWizard->isChecked();
|
||||
}
|
||||
|
||||
/** Loads the settings for this page */
|
||||
void QuickStartWizard::loadNetwork()
|
||||
{
|
||||
|
@ -43,6 +43,7 @@ public:
|
||||
|
||||
bool startMinimized() const;
|
||||
bool quitbox() const;
|
||||
bool firstRunWizard() const;
|
||||
|
||||
|
||||
|
||||
|
@ -121,7 +121,7 @@ p, li { white-space: pre-wrap; }
|
||||
<item row="1" column="0">
|
||||
<widget class="QStackedWidget" name="pagesWizard">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>5</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="pageWelcome">
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
@ -1224,6 +1224,13 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QCheckBox" name="checkBoxQuickWizard">
|
||||
<property name="text">
|
||||
<string>Do not Start Quick Start Wizard on Start</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="10" column="0">
|
||||
|
Loading…
Reference in New Issue
Block a user