From cf70eb1f8658abb4616e6be4b9a3b7c1ddaf74c8 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 22 Jul 2007 20:46:23 +0000 Subject: [PATCH] Allow to select text into lineedit svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691055 --- widgets/lineedit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/lineedit.cpp b/widgets/lineedit.cpp index 23927f18f..e4d95af40 100644 --- a/widgets/lineedit.cpp +++ b/widgets/lineedit.cpp @@ -47,6 +47,7 @@ LineEdit::LineEdit(QGraphicsItem *parent, QGraphicsScene *scene) { setTextInteractionFlags(Qt::TextEditorInteraction); setCursor(Qt::IBeamCursor); + setFlag(QGraphicsItem::ItemIsSelectable); } LineEdit::~LineEdit()