Blob Blame History Raw
diff --git a/gui/viewdockareapopup.cpp b/gui/viewdockareapopup.cpp
index 846d9be31de7988c6790f5220d17482a71bcbfec..24e462b62bb5d63a71946dc1169de4fc7caa4e26 100644
--- a/gui/viewdockareapopup.cpp
+++ b/gui/viewdockareapopup.cpp
@@ -137,9 +137,11 @@ void ViewDockAreaPopup::wheelEvent ( QWheelEvent * e )
 {
   if ( _mdws.isEmpty() )
     return;
-  
+
+#ifndef X_KMIX_KF5_BUILD
    // Pass wheel event from "border widget" to child
    QApplication::sendEvent( _mdws.first(), e);
+#endif
 }