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

Rémi Duraffort git at videolan.org
Thu Jan 23 19:35:04 CET 2014


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jan 23 19:33:35 2014 +0100| [379eb7663f612d598e0e50ddba9b7d7a3201cd9d] | committer: Rémi Duraffort

qt4: fix seek support in VLM

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

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

 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 64eba98..2bebcac 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