]> git.sesse.net Git - vlc/commitdiff
qt4: i really like readable debug output
authorPavlov Konstantin <thresh@videolan.org>
Tue, 14 Nov 2006 17:54:10 +0000 (17:54 +0000)
committerPavlov Konstantin <thresh@videolan.org>
Tue, 14 Nov 2006 17:54:10 +0000 (17:54 +0000)
modules/gui/qt4/util/qvlcframe.hpp

index f35fc97beadd6cf915c044d949276b48fcb0b696..36cc510f760782e70368cccedf17a967e131672b 100644 (file)
@@ -33,6 +33,7 @@
 #include <QPushButton>
 #include "qt4.hpp"
 #include <vlc/vlc.h>
+#include <charset.h>
 
 class QVLCFrame : public QWidget
 {
@@ -74,7 +75,7 @@ public:
 
         if( psz_default )
         {
-            fprintf( stderr, "Creating default button %s\n", psz_default );
+            utf8_fprintf( stderr, "Creating default button %s\n", psz_default );
             *defaul = new QPushButton(0);
             (*defaul)->setFocus();
             buttons_layout->addWidget( *defaul );