[vlc-devel] commit: Qt: remove unnecessary includes (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Dec 4 07:21:45 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 27 15:08:10 2009 +0100| [effca2a2eaff9e4104ebc683d763c8175795b44b] | committer: Jean-Baptiste Kempf
Qt: remove unnecessary includes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=effca2a2eaff9e4104ebc683d763c8175795b44b
---
modules/gui/qt4/qt4.cpp | 9 ++-------
modules/gui/qt4/qt4.hpp | 1 -
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index f42f87d..4cb7d1c 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -27,12 +27,7 @@
#endif
#include <QApplication>
-#include <QLocale>
-#include <QTranslator>
#include <QDate>
-#include <QMutex>
-#include <QMutexLocker>
-#include <QWaitCondition>
#include "qt4.hpp"
@@ -51,7 +46,7 @@
#include "../../../share/vlc32x32-christmas.xpm"
#include <vlc_plugin.h>
-#ifdef WIN32
+#ifdef WIN32 /* For static builds */
#include <QtPlugin>
Q_IMPORT_PLUGIN(qjpeg)
Q_IMPORT_PLUGIN(qtaccessiblewidgets)
@@ -476,7 +471,6 @@ static void *Thread( void *obj )
MainInputManager::killInstance();
-
/* Delete the application automatically */
#ifdef Q_WS_X11
free( display );
@@ -563,3 +557,4 @@ static void WindowClose( vlc_object_t *p_obj )
msg_Dbg( p_obj, "releasing video..." );
p_mi->releaseVideo();
}
+
diff --git a/modules/gui/qt4/qt4.hpp b/modules/gui/qt4/qt4.hpp
index c93754a..38509e8 100644
--- a/modules/gui/qt4/qt4.hpp
+++ b/modules/gui/qt4/qt4.hpp
@@ -33,7 +33,6 @@
#include <vlc_interface.h> /* intf_thread_t */
#include <vlc_playlist.h> /* playlist_t */
-#include <QEvent>
#include <QString>
#if ( QT_VERSION < 0x040400 )
More information about the vlc-devel
mailing list