#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(
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 )