Add settings to ModulesHandle
This commit is contained in:
@@ -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 )
|
||||
|
||||
@@ -999,6 +999,8 @@ Void plaYUVerApp::readSettings()
|
||||
updateRecentFileActions();
|
||||
|
||||
m_appModuleVideo->readSettings();
|
||||
m_appModuleQuality->readSettings();
|
||||
m_appModuleExtensions->readSettings();
|
||||
}
|
||||
|
||||
Void plaYUVerApp::writeSettings()
|
||||
@@ -1015,6 +1017,8 @@ Void plaYUVerApp::writeSettings()
|
||||
appSettings.setValue("MainWindow/RecentFileList", var );
|
||||
|
||||
m_appModuleVideo->writeSettings();
|
||||
m_appModuleQuality->writeSettings();
|
||||
m_appModuleExtensions->writeSettings();
|
||||
}
|
||||
|
||||
} // NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user