From 098c291ee69c5554a0bdeb67842cb7bb7b4170ef Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 31 May 2014 18:32:08 +0100 Subject: [PATCH] Minor changes in the PlaYUVerSettings --- source/app/PlaYUVerSettings.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/source/app/PlaYUVerSettings.cpp b/source/app/PlaYUVerSettings.cpp index 5fea89b..f01f241 100755 --- a/source/app/PlaYUVerSettings.cpp +++ b/source/app/PlaYUVerSettings.cpp @@ -77,16 +77,16 @@ Void PlaYUVerSettings::setSelectedTool( Int tool ) Bool PlaYUVerSettings::getRepeat() { - return m_settings.value( "PLaying/Repeat", false ).toBool(); + return m_settings.value( "Playing/Repeat", false ).toBool(); } Bool PlaYUVerSettings::getVideoLock() { - return m_settings.value( "PLaying/VideoLock", false ).toBool(); + return m_settings.value( "Playing/VideoLock", false ).toBool(); } Void PlaYUVerSettings::setPlayingSettings( Bool repeat, Bool lock ) { - m_settings.setValue( "PLaying/Repeat", repeat ); - m_settings.setValue( "PLaying/VideoLock", lock ); + m_settings.setValue( "Playing/Repeat", repeat ); + m_settings.setValue( "Playing/VideoLock", lock ); } // - - - - - - - - - - - - - - Grid Settings - - - - - - - - - - - - - - - - - - @@ -106,27 +106,27 @@ QColor PlaYUVerSettings::gridColor() return m_settings.value( "Grid/color", QColor( Qt::white ) ).value(); } -void PlaYUVerSettings::setGridColor( const QColor & v ) +Void PlaYUVerSettings::setGridColor( const QColor & v ) { m_settings.setValue( "Grid/color", v ); } -int PlaYUVerSettings::gridHSpacing() +Int PlaYUVerSettings::gridHSpacing() { return m_settings.value( "Grid/hSpacing", 16 ).toInt(); } -void PlaYUVerSettings::setGridHSpacing( int v ) +Void PlaYUVerSettings::setGridHSpacing( Int v ) { m_settings.setValue( "Grid/hSpacing", v ); } -int PlaYUVerSettings::gridVSpacing() +Int PlaYUVerSettings::gridVSpacing() { return m_settings.value( "Grid/vSpacing", 16 ).toInt(); } -void PlaYUVerSettings::setGridVSpacing( int v ) +Void PlaYUVerSettings::setGridVSpacing( Int v ) { m_settings.setValue( "Grid/vSpacing", v ); }