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:
parent
fc4ef631d4
commit
227e28ffa9
@ -47,7 +47,6 @@ ScrollBar::ScrollBar(QGraphicsWidget *parent)
|
|||||||
|
|
||||||
ScrollBar::~ScrollBar()
|
ScrollBar::~ScrollBar()
|
||||||
{
|
{
|
||||||
widget()->setStyle(0);
|
|
||||||
delete d;
|
delete d;
|
||||||
Plasma::Style::doneWithSharedStyle();
|
Plasma::Style::doneWithSharedStyle();
|
||||||
}
|
}
|
||||||
|
@ -53,8 +53,6 @@ TextEdit::TextEdit(QGraphicsWidget *parent)
|
|||||||
|
|
||||||
TextEdit::~TextEdit()
|
TextEdit::~TextEdit()
|
||||||
{
|
{
|
||||||
nativeWidget()->verticalScrollBar()->setStyle(0);
|
|
||||||
nativeWidget()->horizontalScrollBar()->setStyle(0);
|
|
||||||
delete d;
|
delete d;
|
||||||
Plasma::Style::doneWithSharedStyle();
|
Plasma::Style::doneWithSharedStyle();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user