Support to save custom values. Add stream info struct in order to save relevant info about each sub window
This commit is contained in:
1 parent
fdc4d8b923
commit
55c0e2b4c3
7 files changed
+82
-32
No files matched your search
@@ -103,17 +103,17 @@ Void PlaYUVerSettings::setPlayingSettings( Bool repeat, Bool lock )
|
||||
m_settings.setValue( "Playing/VideoLock", lock );
|
||||
}
|
||||
|
||||
Void PlaYUVerSettings::setRecentFileList( PlaYUVerRecentFileListInfo recentFileList )
|
||||
Void PlaYUVerSettings::setRecentFileList( PlaYUVerStreamInfoVector recentFileList )
|
||||
{
|
||||
QVariant var;
|
||||
var.setValue<PlaYUVerRecentFileListInfo>( recentFileList );
|
||||
var.setValue<PlaYUVerStreamInfoVector>( recentFileList );
|
||||
m_settings.setValue("MainWindow/RecentFileList", var );
|
||||
}
|
||||
|
||||
PlaYUVerRecentFileListInfo PlaYUVerSettings::getRecentFileList()
|
||||
QVector<PlaYUVerStreamInfo> PlaYUVerSettings::getRecentFileList()
|
||||
{
|
||||
QVariant value = m_settings.value("MainWindow/RecentFileList");
|
||||
return value.value<PlaYUVerRecentFileListInfo>();
|
||||
return value.value<PlaYUVerStreamInfoVector>();
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - Grid Settings - - - - - - - - - - - - - - - - - -
|
||||
|
||||
Reference in new issue
Block a user