[vlc-commits] Qt: avoid redefine warning

Jean-Baptiste Kempf git at videolan.org
Wed Mar 25 15:41:02 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Mar 25 15:40:52 2015 +0100| [d1305a887f96653503500d9d485281437b720d5c] | committer: Jean-Baptiste Kempf

Qt: avoid redefine warning

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

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

diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index a94e94c..f0d5891 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -26,6 +26,8 @@
 # include "config.h"
 #endif
 
+#define VLC_MODULE_LICENSE VLC_LICENSE_GPL_2_PLUS
+
 #include <QApplication>
 #include <QDate>
 #include <QMutex>
@@ -202,8 +204,6 @@ static const char *const psz_continue_list_text[] =
     { N_("Never"), N_("Ask"), N_("Always") };
 
 
-#define VLC_MODULE_LICENSE VLC_LICENSE_GPL_2_PLUS
-
 /**********************************************************************/
 vlc_module_begin ()
     set_shortname( "Qt" )



More information about the vlc-commits mailing list