mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
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:
parent
c84f34e916
commit
8b9e64f9f6
2 changed files with 10 additions and 3 deletions
|
@ -81,9 +81,15 @@ GeneralDialog::load()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool GeneralDialog::startMinimized() const {
|
bool GeneralDialog::startMinimized() const {
|
||||||
if(ui.checkStartMinimized->isChecked()) return true;
|
if(ui.checkStartMinimized->isChecked()) return true;
|
||||||
return ui.checkStartMinimized->isChecked();
|
return ui.checkStartMinimized->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Called when the "show on startup" checkbox is toggled. */
|
||||||
|
void
|
||||||
|
GeneralDialog::toggleShowOnStartup(bool checked)
|
||||||
|
{
|
||||||
|
//RshareSettings _settings;
|
||||||
|
_settings->setShowMainWindowAtStart(checked);
|
||||||
|
}
|
||||||
|
|
|
@ -49,7 +49,8 @@ public:
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|
||||||
|
/** Called when the "show on startup" checkbox is toggled. */
|
||||||
|
void toggleShowOnStartup(bool checked);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/** A VidaliaSettings object used for saving/loading settings */
|
/** A VidaliaSettings object used for saving/loading settings */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue