]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea.cpp
Use QFontMetrics information for underlines (and friends) width and position
[lyx.git] / src / frontends / qt4 / GuiWorkArea.cpp
index 9f1f4a531609b105dc90ea17a2273e2b783da7c7..2411206771be4cd6c0b6f7bfc467bf7b0d2f81d5 100644 (file)
@@ -818,7 +818,7 @@ void GuiWorkArea::mousePressEvent(QMouseEvent * e)
                return;
        }
 
-#if (QT_VERSION < 0x050000)
+#if (QT_VERSION < 0x050000) && !defined(__HAIKU__)
        inputContext()->reset();
 #endif