mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04: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
3 changed files with 17 additions and 2 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue