Add a new struct to include the stream info and save it in qsettings
This commit is contained in:
1 parent
4307d1a24c
commit
bfa649d5e6
7 files changed
+70
-8
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user