diff options
author | 2015-12-27 13:51:16 +0100 | |
---|---|---|
committer | 2015-12-27 13:51:16 +0100 | |
commit | fd21d7accb59b8390c93ccce65ae342bdc88e823 (patch) | |
tree | 276608f283655783ed919bb4fadadc608c8458df | |
parent | 4810f2e98e20c1d91a687c7b82f527ba4c8a5ab7 (diff) |
Do not add this for other then windows (nw)
-rw-r--r-- | src/osd/modules/debugger/debugqt.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/osd/modules/debugger/debugqt.cpp b/src/osd/modules/debugger/debugqt.cpp index 0c7967609b7..75d925f1f24 100644 --- a/src/osd/modules/debugger/debugqt.cpp +++ b/src/osd/modules/debugger/debugqt.cpp @@ -34,7 +34,10 @@ #include "qt/deviceswindow.h" #include "qt/deviceinformationwindow.h" -class debug_qt : public osd_module, public debug_module, public QAbstractNativeEventFilter +class debug_qt : public osd_module, public debug_module +#if defined(WIN32) && !defined(SDLMAME_WIN32) +, public QAbstractNativeEventFilter +#endif { public: debug_qt() @@ -51,7 +54,9 @@ public: virtual void init_debugger(running_machine &machine); virtual void wait_for_debugger(device_t &device, bool firststop); virtual void debugger_update(); +#if defined(WIN32) && !defined(SDLMAME_WIN32) virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long *) Q_DECL_OVERRIDE; +#endif private: running_machine *m_machine; }; @@ -233,7 +238,7 @@ static void bring_main_window_to_front() #if defined(WIN32) && !defined(SDLMAME_WIN32) bool winwindow_qt_filter(void *message); - + bool debug_qt::nativeEventFilter(const QByteArray &eventType, void *message, long *) { winwindow_qt_filter(message); |