no more window icons

svn path=/trunk/KDE/kdelibs/; revision=1149634
This commit is contained in:
Marco Martin 2010-07-13 21:49:01 +00:00
parent 748d85362c
commit 1d1e382b19
2 changed files with 2 additions and 1 deletions

View File

@ -105,6 +105,7 @@ TextBrowser::TextBrowser(QGraphicsWidget *parent)
native->setWindowFlags(native->windowFlags()|Qt::BypassGraphicsProxyWidget);
connect(native, SIGNAL(textChanged()), this, SIGNAL(textChanged()));
connect(native, SIGNAL(textChanged()), this, SLOT(setFixedHeight()));
native->setWindowIcon(QIcon());
setWidget(native);
d->native = native;
native->setAttribute(Qt::WA_NoSystemBackground);

View File

@ -129,8 +129,8 @@ void TextEdit::setNativeWidget(KTextEdit *nativeWidget)
connect(nativeWidget, SIGNAL(textChanged()), this, SIGNAL(textChanged()));
setWidget(nativeWidget);
nativeWidget->setWindowIcon(QIcon());
setWidget(nativeWidget);
nativeWidget->setAttribute(Qt::WA_NoSystemBackground);
nativeWidget->setFrameShape(QFrame::NoFrame);