mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-20 15:00:36 -04:00
update start wizard, change gui settings directory into ssl profile directory (RestroShare.conf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fb5bbf2e96
commit
e142c63180
16 changed files with 1189 additions and 1588 deletions
|
@ -60,7 +60,7 @@ GeneralPage::save(QString &errmsg)
|
|||
|
||||
_settings->setValue(QString::fromUtf8("ClosetoTray"), closetoTray());
|
||||
|
||||
_settings->setValue(QString::fromUtf8("FirstRun"), firstRun());
|
||||
//_settings->setValue(QString::fromUtf8("FirstRun"), firstRun());
|
||||
|
||||
_settings->setRunRetroshareOnBoot(
|
||||
ui.chkRunRetroshareAtSystemStartup->isChecked());
|
||||
|
@ -81,7 +81,7 @@ GeneralPage::load()
|
|||
|
||||
ui.checkClosetoTray->setChecked(_settings->value(QString::fromUtf8("ClosetoTray"), false).toBool());
|
||||
|
||||
ui.checkBoxWizard->setChecked(_settings->value(QString::fromUtf8("FirstRun"), false).toBool());
|
||||
//ui.checkBoxWizard->setChecked(_settings->value(QString::fromUtf8("FirstRun"), false).toBool());
|
||||
|
||||
|
||||
}
|
||||
|
@ -101,10 +101,10 @@ bool GeneralPage::closetoTray() const {
|
|||
return ui.checkClosetoTray->isChecked();
|
||||
}
|
||||
|
||||
bool GeneralPage::firstRun() const {
|
||||
if(ui.checkBoxWizard->isChecked()) return true;
|
||||
return ui.checkBoxWizard->isChecked();
|
||||
}
|
||||
//bool GeneralPage::firstRun() const {
|
||||
// if(ui.checkBoxWizard->isChecked()) return true;
|
||||
// return ui.checkBoxWizard->isChecked();
|
||||
//}
|
||||
|
||||
/** Called when the "show on startup" checkbox is toggled. */
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue