[vlc-commits] qt: don't return void

Thomas Guillem git at videolan.org
Fri Sep 13 10:11:11 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Aug 26 14:56:39 2019 +0200| [441888a4b06d884e32b7ab823af63e8a419255b1] | committer: Thomas Guillem

qt: don't return void

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=441888a4b06d884e32b7ab823af63e8a419255b1
---

 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 1dcd4b4183..987ab08c6e 100644
--- a/modules/gui/qt/components/player_controller.cpp
+++ b/modules/gui/qt/components/player_controller.cpp
@@ -1050,14 +1050,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()



More information about the vlc-commits mailing list