Add settings to ModulesHandle

This commit is contained in:
jfmcarreira committed 2015-01-13 23:08:43 +00:00
1 parent 4794674359
commit e1ad3bcdee
2 files changed
+8 -2

No files matched your search

+4 -2
View File
@@ -174,12 +174,14 @@ Void ModulesHandle::updateMenus()
Void ModulesHandle::readSettings()
{
QSettings appSettings;
m_arrayActions[FORCE_NEW_WINDOW_ACT]->setChecked( appSettings.value( "ModulesHandle/UseNewWindow", false ).toBool() );
}
Void ModulesHandle::writeSettings()
{
QSettings appSettings;
appSettings.setValue( "ModulesHandle/UseNewWindow", m_arrayActions[FORCE_NEW_WINDOW_ACT]->isChecked() );
}
Void ModulesHandle::processOpt( Int index )