Add repeat and video lock to settings

This commit is contained in:
jfmcarreira committed 2014-05-09 05:28:27 +01:00
1 parent 681e8c0d6b
commit b96bf37227
3 files changed
+36 -13

No files matched your search

+3
View File
@@ -1073,6 +1073,8 @@ Void plaYUVerApp::readSettings()
move( pos );
resize( size );
m_cLastOpenPath = settings.lastOpenPath();
m_arrayActions[VIDEO_LOOP_ACT]->setChecked( settings.getRepeat() );
m_arrayActions[VIDEO_LOCK_ACT]->setChecked( settings.getVideoLock() );
}
Void plaYUVerApp::writeSettings()
@@ -1081,6 +1083,7 @@ Void plaYUVerApp::writeSettings()
settings.setMainWindowPos( pos() );
settings.setMainWindowSize( size() );
settings.setLastOpenPath( m_cLastOpenPath );
settings.setPlayingSettings( m_arrayActions[VIDEO_LOOP_ACT]->isChecked(), m_arrayActions[VIDEO_LOCK_ACT]->isChecked() );
}
} // NAMESPACE