Mem leak--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841816
This commit is contained in:
parent
b123a8e8b1
commit
cc7db99997
@ -116,6 +116,11 @@ NativeTabBar::NativeTabBar(QWidget *parent)
|
||||
setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Preferred );
|
||||
}
|
||||
|
||||
NativeTabBar::~NativeTabBar()
|
||||
{
|
||||
delete d;
|
||||
}
|
||||
|
||||
QRect NativeTabBar::tabRect(int index) const
|
||||
{
|
||||
QRect rect = QTabBar::tabRect(index).translated(d->left, d->top);
|
||||
|
@ -34,6 +34,7 @@ class NativeTabBar : public QTabBar
|
||||
|
||||
public:
|
||||
NativeTabBar(QWidget *parent = 0);
|
||||
~NativeTabBar();
|
||||
|
||||
QRect tabRect(int index) const;
|
||||
QSize tabSizeHint(int index) const;
|
||||
|
Loading…
Reference in New Issue
Block a user