From 8baa424e3addad300fc22baf9636fc294efdcb56 Mon Sep 17 00:00:00 2001 From: megabigbug Date: Sat, 1 Aug 2009 15:11:11 +0200 Subject: fix focus when right click bug --- src/lineedit.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/lineedit.cpp') diff --git a/src/lineedit.cpp b/src/lineedit.cpp index fd43346d..270d1634 100644 --- a/src/lineedit.cpp +++ b/src/lineedit.cpp @@ -69,17 +69,6 @@ void LineEdit::focusInEvent(QFocusEvent *event) KLineEdit::focusInEvent(event); } - -void LineEdit::focusOutEvent(QFocusEvent *event) -{ - KLineEdit::focusOutEvent(event); - - // reset cursor state and deselect - setCursorPosition(0); - deselect(); -} - - void LineEdit::mouseDoubleClickEvent(QMouseEvent *) { selectAll(); -- cgit v1.2.1