summaryrefslogtreecommitdiffstats
path: root/examples/testapp/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/testapp/mainwindow.h')
-rw-r--r--examples/testapp/mainwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/testapp/mainwindow.h b/examples/testapp/mainwindow.h
index c0611eaab..27af19c97 100644
--- a/examples/testapp/mainwindow.h
+++ b/examples/testapp/mainwindow.h
@@ -34,6 +34,7 @@ class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow( const QStringList& args, QWidget* parent=0 );
+ ~MainWindow() { delete m_installer; }
private Q_SLOTS:
void editUpdateSettings();
@@ -43,6 +44,6 @@ private Q_SLOTS:
private:
KDUpdater::Application updaterapp;
- QInstaller::Installer m_installer;
+ QInstaller::Installer *m_installer;
QInstaller::InstallerSettings m_settings;
};