Make text selectable just by mouse (Qt::TextSelectableByMouse) in
fealure applet text (otherwise we was able to change text...) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757582
This commit is contained in:
parent
ec09262001
commit
ed93750db3
@ -713,6 +713,7 @@ void Applet::setFailedToLaunch(bool failed, const QString& reason)
|
||||
Layout* failureLayout = new BoxLayout(BoxLayout::TopToBottom, this);
|
||||
failureLayout->setMargin(0);
|
||||
d->failureText = new LineEdit(this);
|
||||
d->failureText->setTextInteractionFlags( Qt::TextSelectableByMouse );
|
||||
d->failureText->setStyled(false);
|
||||
d->failureText->document()->setTextWidth(200);
|
||||
d->failureText->setHtml(visibleFailureText(reason));
|
||||
|
Loading…
Reference in New Issue
Block a user