added forgetten function

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@685 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-08-15 11:22:41 +00:00
parent c84f34e916
commit 8b9e64f9f6
2 changed files with 10 additions and 3 deletions

View File

@ -81,9 +81,15 @@ GeneralDialog::load()
}
bool GeneralDialog::startMinimized() const {
if(ui.checkStartMinimized->isChecked()) return true;
return ui.checkStartMinimized->isChecked();
}
/** Called when the "show on startup" checkbox is toggled. */
void
GeneralDialog::toggleShowOnStartup(bool checked)
{
//RshareSettings _settings;
_settings->setShowMainWindowAtStart(checked);
}

View File

@ -49,7 +49,8 @@ public:
private slots:
/** Called when the "show on startup" checkbox is toggled. */
void toggleShowOnStartup(bool checked);
private:
/** A VidaliaSettings object used for saving/loading settings */