mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
don't leak
svn path=/trunk/KDE/kdegraphics/okular/; revision=673077
This commit is contained in:
parent
4bc728d950
commit
2cd592a81e
|
@ -14,6 +14,6 @@
|
|||
DlgAccessibility::DlgAccessibility( QWidget * parent )
|
||||
: QWidget( parent )
|
||||
{
|
||||
Ui_DlgAccessibilityBase *dlg = new Ui_DlgAccessibilityBase();
|
||||
dlg->setupUi( this );
|
||||
Ui_DlgAccessibilityBase dlg;
|
||||
dlg.setupUi( this );
|
||||
}
|
||||
|
|
|
@ -22,6 +22,11 @@ DlgGeneral::DlgGeneral( QWidget * parent )
|
|||
m_dlg->setupUi( this );
|
||||
}
|
||||
|
||||
DlgGeneral::~DlgGeneral()
|
||||
{
|
||||
delete m_dlg;
|
||||
}
|
||||
|
||||
void DlgGeneral::showEvent( QShowEvent * )
|
||||
{
|
||||
#if OKULAR_FORCE_DRM
|
||||
|
|
|
@ -18,6 +18,7 @@ class DlgGeneral : public QWidget
|
|||
{
|
||||
public:
|
||||
DlgGeneral( QWidget * parent = 0 );
|
||||
virtual ~DlgGeneral();
|
||||
|
||||
protected:
|
||||
virtual void showEvent( QShowEvent * );
|
||||
|
|
|
@ -30,6 +30,11 @@ DlgPerformance::DlgPerformance( QWidget * parent )
|
|||
connect( m_dlg->kcfg_MemoryLevel, SIGNAL( changed( int ) ), this, SLOT( radioGroup_changed( int ) ) );
|
||||
}
|
||||
|
||||
DlgPerformance::~DlgPerformance()
|
||||
{
|
||||
delete m_dlg;
|
||||
}
|
||||
|
||||
void DlgPerformance::radioGroup_changed( int which )
|
||||
{
|
||||
switch ( which )
|
||||
|
|
|
@ -20,6 +20,7 @@ class DlgPerformance : public QWidget
|
|||
|
||||
public:
|
||||
DlgPerformance( QWidget * parent = 0 );
|
||||
virtual ~DlgPerformance();
|
||||
|
||||
protected slots:
|
||||
void radioGroup_changed( int which );
|
||||
|
|
Loading…
Reference in a new issue