Save current tool

This commit is contained in:
jfmcarreira committed 2014-05-19 00:55:46 +01:00
1 parent 93095363b8
commit 71b4a8fe5b
3 files changed
+18 -7

No files matched your search

+11 -1
View File
@@ -28,7 +28,7 @@ namespace plaYUVer
{
PlaYUVerSettings::PlaYUVerSettings() :
m_settings( "IT", "YUV Player" )
m_settings( "IT", "YUV Player" )
{
}
// - - - - - - - - - - - - Main Window Settings - - - - - - - - - - - - - - - -
@@ -63,6 +63,16 @@ Void PlaYUVerSettings::setLastOpenPath( const QString & path )
m_settings.setValue( "MainWindow/lastOpenPath", path );
}
Int PlaYUVerSettings::getSelectedTool()
{
return m_settings.value( "MainWindow/SelectedTool", NavigationTool ).toInt();
}
Void PlaYUVerSettings::setSelectedTool( Int tool )
{
m_settings.setValue( "MainWindow/SelectedTool", tool );
}
// - - - - - - - - - - - - PLaying Settings - - - - - - - - - - - - - - - -
Bool PlaYUVerSettings::getRepeat()