From 95ca3d5d5bc4cca8d54b4a0e090da7ed2726a758 Mon Sep 17 00:00:00 2001 From: mrexodia Date: Sun, 9 Apr 2017 17:39:56 +0200 Subject: [PATCH] compile with MSVC again (this partially screws up 72893373, and issue #97) --- src/widgets/commentswidget.cpp | 1 + src/widgets/functionswidget.cpp | 1 + src/widgets/memwidget/memorywidget.cpp | 2 +- src/widgets/sectionswidget.cpp | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/widgets/commentswidget.cpp b/src/widgets/commentswidget.cpp index b2b2ca4e..71dc6c2d 100644 --- a/src/widgets/commentswidget.cpp +++ b/src/widgets/commentswidget.cpp @@ -133,4 +133,5 @@ bool CommentsWidget::eventFilter(QObject *obj, QEvent *event) { } } } + return QDockWidget::eventFilter(obj, event); } diff --git a/src/widgets/functionswidget.cpp b/src/widgets/functionswidget.cpp index 2c54df96..c94f904a 100644 --- a/src/widgets/functionswidget.cpp +++ b/src/widgets/functionswidget.cpp @@ -376,4 +376,5 @@ bool FunctionsWidget::eventFilter(QObject *obj, QEvent *event) { } } } + return QDockWidget::eventFilter(obj, event); } diff --git a/src/widgets/memwidget/memorywidget.cpp b/src/widgets/memwidget/memorywidget.cpp index 8e575df4..bf8e4d82 100644 --- a/src/widgets/memwidget/memorywidget.cpp +++ b/src/widgets/memwidget/memorywidget.cpp @@ -1613,7 +1613,7 @@ bool MemoryWidget::eventFilter(QObject *obj, QEvent *event) { } } } - return false; //allow the event to be handled further + return QDockWidget::eventFilter(obj, event); } void MemoryWidget::on_actionXRefs_triggered() diff --git a/src/widgets/sectionswidget.cpp b/src/widgets/sectionswidget.cpp index 8aa2d35f..22c6992a 100644 --- a/src/widgets/sectionswidget.cpp +++ b/src/widgets/sectionswidget.cpp @@ -110,4 +110,5 @@ bool SectionsWidget::eventFilter(QObject *obj, QEvent *event) { } } } + return QSplitter::eventFilter(obj, event); }