[vlc-commits] qt: add a const on the playback state getter
Steve Lhomme
git at videolan.org
Tue Mar 29 10:29:15 CEST 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Mar 29 10:26:53 2016 +0200| [b3c5d6ac047a55d2609f890117bba4c90548c591] | committer: Jean-Baptiste Kempf
qt: add a const on the playback state getter
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b3c5d6ac047a55d2609f890117bba4c90548c591
---
modules/gui/qt/input_manager.cpp | 2 +-
modules/gui/qt/input_manager.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/input_manager.cpp b/modules/gui/qt/input_manager.cpp
index 996b286..da3d781 100644
--- a/modules/gui/qt/input_manager.cpp
+++ b/modules/gui/qt/input_manager.cpp
@@ -535,7 +535,7 @@ void InputManager::UpdateName()
}
}
-int InputManager::playingStatus()
+int InputManager::playingStatus() const
{
return i_old_playing_status;
}
diff --git a/modules/gui/qt/input_manager.hpp b/modules/gui/qt/input_manager.hpp
index 3d7e613..8972729 100644
--- a/modules/gui/qt/input_manager.hpp
+++ b/modules/gui/qt/input_manager.hpp
@@ -132,7 +132,7 @@ public:
void delInput();
bool hasInput() const { return p_input != NULL; }
- int playingStatus();
+ int playingStatus() const;
bool hasAudio();
bool hasVideo() { return hasInput() && b_video; }
bool hasVisualisation();
More information about the vlc-commits
mailing list