From 7cd2e55d1fb3782c727bad2f38923e8548beaafa Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Fri, 5 Jun 2015 14:44:12 +1200 Subject: [PATCH] Qt4: Prevent crash on Haiku when clicking in a document Fixes bug #8595. --- src/frontends/qt4/GuiWorkArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 9f1f4a5316..2411206771 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -818,7 +818,7 @@ void GuiWorkArea::mousePressEvent(QMouseEvent * e) return; } -#if (QT_VERSION < 0x050000) +#if (QT_VERSION < 0x050000) && !defined(__HAIKU__) inputContext()->reset(); #endif -- 2.39.5