use the accessor to get to the native widget
svn path=/branches/KDE/4.4/kdelibs/; revision=1097020
This commit is contained in:
parent
73d1f4a7c9
commit
41595be4d7
@ -191,9 +191,9 @@ bool Label::hasScaledContents() const
|
||||
void Label::setTextSelectable(bool enable)
|
||||
{
|
||||
if (enable) {
|
||||
native->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
nativeWidget()->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
} else {
|
||||
native->setTextInteractionFlags(Qt::LinksAccessibleByMouse);
|
||||
nativeWidget()->setTextInteractionFlags(Qt::LinksAccessibleByMouse);
|
||||
}
|
||||
|
||||
d->textSelectable = enable;
|
||||
|
Loading…
Reference in New Issue
Block a user