Ignore:
Timestamp:
Aug 31, 2016, 5:19:25 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update vendor to version 16.8.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/src/myapplication.h

    r175 r179  
    2323
    2424#ifdef Q_OS_WIN
    25  #if QT_VERSION < 0x050000
    26   #define USE_WINEVENTFILTER
    27  #endif
     25  //#define USE_WINEVENTFILTER
     26#endif
     27
     28#if defined(USE_WINEVENTFILTER) && QT_VERSION >= 0x050000
     29#include <QAbstractNativeEventFilter>
    2830#endif
    2931
     
    3234
    3335class MyApplication : public QtSingleApplication
     36
     37
     38
    3439{
    3540        Q_OBJECT
    3641
    3742public:
    38         MyApplication ( const QString & appId, int & argc, char ** argv )
    39                 : QtSingleApplication(appId, argc, argv) {};
     43        MyApplication ( const QString & appId, int & argc, char ** argv );
    4044
    4145        virtual void commitData ( QSessionManager & /*manager*/ ) {
     
    4953#ifdef USE_WINEVENTFILTER
    5054        virtual bool winEventFilter(MSG * msg, long * result);
     55
     56
     57
    5158#endif
    5259};
     
    5663
    5764class MyApplication : public QApplication
     65
     66
     67
    5868{
    5969        Q_OBJECT
    6070
    6171public:
    62         MyApplication ( const QString & appId, int & argc, char ** argv ) : QApplication(argc, argv) {};
     72        MyApplication ( const QString & appId, int & argc, char ** argv );
    6373
    6474        virtual void commitData ( QSessionManager & /*manager*/ ) {
     
    6878#ifdef USE_WINEVENTFILTER
    6979        virtual bool winEventFilter(MSG * msg, long * result);
     80
     81
     82
    7083#endif
    7184};
Note: See TracChangeset for help on using the changeset viewer.