[vlc-devel] [PATCH 1/3] qt: don't return void

Thomas Guillem thomas at gllm.fr
Mon Aug 26 15:10:27 CEST 2019


---
 modules/gui/qt/components/player_controller.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/components/player_controller.cpp b/modules/gui/qt/components/player_controller.cpp
index d256949470..5ef0f99046 100644
--- a/modules/gui/qt/components/player_controller.cpp
+++ b/modules/gui/qt/components/player_controller.cpp
@@ -1061,14 +1061,14 @@ void PlayerController::setTime(VLCTick new_time)
 {
     Q_D(PlayerController);
     vlc_player_locker lock{ d->m_player };
-    return vlc_player_SetTime( d->m_player, new_time );
+    vlc_player_SetTime( d->m_player, new_time );
 }
 
 void PlayerController::setPosition(float position)
 {
     Q_D(PlayerController);
     vlc_player_locker lock{ d->m_player };
-    return vlc_player_SetPosition( d->m_player, position );
+    vlc_player_SetPosition( d->m_player, position );
 }
 
 void PlayerController::jumpFwd()
-- 
2.20.1



More information about the vlc-devel mailing list