]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/qt4.hpp
Do previous commit in a better way.
[vlc] / modules / gui / qt4 / qt4.hpp
index 218fc4f142b51933d0e6b466981d22ccec0f2a93..7670514801884e3a386ac79b931cbd30c2cc8d93 100644 (file)
@@ -35,7 +35,7 @@
 
 /* Add define for duration, VLC_META_ENGINE doesn't include it */
 #define VLC_META_ENGINE_DURATION   0x00000002
-#define VLC_META_DURATION          N_("Duration")
+#define VLC_META_DURATION          N_( "Duration" )
 
 class QApplication;
 class QMenu;
@@ -65,8 +65,8 @@ struct intf_sys_t
 
 #define qfu( i ) QString::fromUtf8( i )
 #define qtr( i ) QString::fromUtf8( _(i) )
-#define qtu( i ) i.toUtf8().data()
-#define qta( i ) i.toAscii().data()
+#define qtu( i ) (i).toUtf8().data()
+#define qta( i ) (i).toAscii().data()
 
 #define CONNECT( a, b, c, d ) connect( a, SIGNAL( b ), c, SLOT(d) )
 #define BUTTONACT( b, a ) connect( b, SIGNAL( clicked() ), this, SLOT(a) )