summaryrefslogtreecommitdiff
path: root/src/lineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lineedit.cpp')
-rw-r--r--src/lineedit.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lineedit.cpp b/src/lineedit.cpp
index 05ba2764..6d3d3ef4 100644
--- a/src/lineedit.cpp
+++ b/src/lineedit.cpp
@@ -35,7 +35,6 @@ LineEdit::LineEdit(QWidget* parent)
{
setMinimumWidth(200);
setFocusPolicy(Qt::WheelFocus);
-
setHandleSignals(true);
}
@@ -79,3 +78,8 @@ void LineEdit::focusOutEvent(QFocusEvent *event)
setCursorPosition(0);
deselect();
}
+
+void LineEdit::mouseDoubleClickEvent(QMouseEvent *)
+{
+ selectAll();
+}