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 )
#endif
/* Start the QApplication here */
#ifdef WIN32
WinQtApp *app = new WinQtApp( argc, argv , true );
#else
QApplication *app = new QApplication( argc, argv , true );
#endif
QVLCApp *app = new QVLCApp( argc, argv , true );
p_intf->p_sys->p_app = app;
p_intf->p_sys->mainSettings = new QSettings(
......
......@@ -30,6 +30,10 @@
class QVLCApp : public QApplication
{
public:
QVLCApp( int & argc, char ** argv, bool GUIenabled ) : QApplication( argc,
argv, GUIenabled ) {}
#if defined(Q_WS_WIN)
protected:
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