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:
joss17 2010-01-27 22:31:25 +00:00
parent fb5bbf2e96
commit e142c63180
16 changed files with 1189 additions and 1588 deletions

View file

@ -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