no need to set the style at the end now that we have the shared pointer based style

svn path=/trunk/KDE/kdelibs/; revision=902674
This commit is contained in:
Aaron J. Seigo 2008-12-28 22:45:22 +00:00
parent fc4ef631d4
commit 227e28ffa9
2 changed files with 0 additions and 3 deletions

View File

@ -47,7 +47,6 @@ ScrollBar::ScrollBar(QGraphicsWidget *parent)
ScrollBar::~ScrollBar()
{
widget()->setStyle(0);
delete d;
Plasma::Style::doneWithSharedStyle();
}

View File

@ -53,8 +53,6 @@ TextEdit::TextEdit(QGraphicsWidget *parent)
TextEdit::~TextEdit()
{
nativeWidget()->verticalScrollBar()->setStyle(0);
nativeWidget()->horizontalScrollBar()->setStyle(0);
delete d;
Plasma::Style::doneWithSharedStyle();
}