Commit 0dd42839 authored by Halla Rempt's avatar Halla Rempt

Fix memory leak

parent 64da16d7
......@@ -24,6 +24,7 @@
#include <QWidget>
#include "KoZoomAction.h"
#include <QScopedPointer>
class KoZoomWidget : public QWidget
{
......@@ -76,7 +77,7 @@ public Q_SLOTS:
void setAspectMode(bool status);
private:
class Private;
Private* const d;
QScopedPointer<Private> const d;
};
#endif // KOZOOMWIDGET_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment