Commit 41b3e1da authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[Qt] Win Compilation fix.

parent 9e98e6b5
...@@ -352,11 +352,7 @@ static void *Init( vlc_object_t *obj ) ...@@ -352,11 +352,7 @@ static void *Init( vlc_object_t *obj )
#endif #endif
/* Start the QApplication here */ /* Start the QApplication here */
#ifdef WIN32 QVLCApp *app = new QVLCApp( argc, argv , true );
WinQtApp *app = new WinQtApp( argc, argv , true );
#else
QApplication *app = new QApplication( argc, argv , true );
#endif
p_intf->p_sys->p_app = app; p_intf->p_sys->p_app = app;
p_intf->p_sys->mainSettings = new QSettings( p_intf->p_sys->mainSettings = new QSettings(
......
...@@ -30,6 +30,10 @@ ...@@ -30,6 +30,10 @@
class QVLCApp : public QApplication class QVLCApp : public QApplication
{ {
public:
QVLCApp( int & argc, char ** argv, bool GUIenabled ) : QApplication( argc,
argv, GUIenabled ) {}
#if defined(Q_WS_WIN) #if defined(Q_WS_WIN)
protected: protected:
virtual bool winEventFilter( MSG *msg, long *result ) virtual bool winEventFilter( MSG *msg, long *result )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment