Add a new struct to include the stream info and save it in qsettings

This commit is contained in:
jfmcarreira committed 2014-07-06 03:18:31 +01:00
1 parent 4307d1a24c
commit bfa649d5e6
7 files changed
+70 -8

No files matched your search

+13
View File
@@ -103,6 +103,19 @@ Void PlaYUVerSettings::setPlayingSettings( Bool repeat, Bool lock )
m_settings.setValue( "Playing/VideoLock", lock );
}
Void PlaYUVerSettings::setRecentFileList( PlaYUVerRecentFileListInfo recentFileList )
{
QVariant var;
var.setValue<PlaYUVerRecentFileListInfo>( recentFileList );
m_settings.setValue("MainWindow/RecentFileList", var );
}
PlaYUVerRecentFileListInfo PlaYUVerSettings::getRecentFileList()
{
QVariant value = m_settings.value("MainWindow/RecentFileList");
return value.value<PlaYUVerRecentFileListInfo>();
}
// - - - - - - - - - - - - - - Grid Settings - - - - - - - - - - - - - - - - - -
GridManager::Style PlaYUVerSettings::gridStyle()