[vlc-commits] qt4: fix seek support in VLM

Rémi Duraffort git at videolan.org
Sun Jan 26 15:06:46 CET 2014


vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jan 23 19:33:35 2014 +0100| [592b3f5467edd238bd7331b38c6730a257b4656c] | committer: Jean-Baptiste Kempf

qt4: fix seek support in VLM

clang was giving a warning about the addition of a const char* with an integer.

(cherry picked from commit 379eb7663f612d598e0e50ddba9b7d7a3201cd9d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=592b3f5467edd238bd7331b38c6730a257b4656c
---

 modules/gui/qt4/dialogs/vlm.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 47e1b93..bc7d96b 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -752,7 +752,7 @@ void VLMWrapper::ControlBroadcast( const QString& name, int BroadcastStatus,
         command += " stop";
         break;
     case ControlBroadcastSeek:
-        command += " seek" + seek;
+        command += " seek " + QString::number( seek );
         break;
     }
     vlm_ExecuteCommand( p_vlm, qtu( command ), &message );



More information about the vlc-commits mailing list