set the flag in the proper place
svn path=/trunk/KDE/kdelibs/; revision=1123756
This commit is contained in:
parent
b917c7d14d
commit
cbabd3b5cf
@ -82,10 +82,7 @@ LineEdit::LineEdit(QGraphicsWidget *parent)
|
||||
|
||||
FocusIndicator *focusIndicator = new FocusIndicator(this, "widgets/lineedit");
|
||||
|
||||
KLineEdit *native = new KLineEdit;
|
||||
native->setWindowFlags(native->windowFlags()|Qt::BypassGraphicsProxyWidget);
|
||||
|
||||
setNativeWidget(native);
|
||||
setNativeWidget(new KLineEdit);
|
||||
|
||||
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(setPalette()));
|
||||
}
|
||||
@ -138,6 +135,7 @@ void LineEdit::setNativeWidget(KLineEdit *nativeWidget)
|
||||
connect(nativeWidget, SIGNAL(textChanged(const QString&)), this, SIGNAL(textChanged(const QString&)));
|
||||
|
||||
|
||||
nativeWidget->setWindowFlags(nativeWidget->windowFlags()|Qt::BypassGraphicsProxyWidget);
|
||||
setWidget(nativeWidget);
|
||||
|
||||
nativeWidget->setAttribute(Qt::WA_NoSystemBackground);
|
||||
|
Loading…
Reference in New Issue
Block a user