[vlc-commits] commit: Qt4: disable implicit cast from QString to (const) char * ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Mon Mar 8 19:21:25 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar  8 19:59:22 2010 +0200| [c518343cb244b40c0a90407f21ef5d990778d9c2] | committer: Rémi Denis-Courmont 

Qt4: disable implicit cast from QString to (const) char *

This enforces the use of qtu() or whatever appropriate.

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

 modules/gui/qt4/qt4.hpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/qt4.hpp b/modules/gui/qt4/qt4.hpp
index 9111839..022765a 100644
--- a/modules/gui/qt4/qt4.hpp
+++ b/modules/gui/qt4/qt4.hpp
@@ -33,6 +33,7 @@
 #include <vlc_interface.h> /* intf_thread_t */
 #include <vlc_playlist.h>  /* playlist_t */
 
+#define QT_NO_CAST_TO_ASCII
 #include <QString>
 
 #if ( QT_VERSION < 0x040400 )



More information about the vlc-commits mailing list