Commit ce06a554 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix memory leak

parent 44f86a67
......@@ -44,7 +44,7 @@ class DockWidgetManager : public QObject
private:
explicit DockWidgetManager();
~DockWidgetManager() {}
~DockWidgetManager() { delete m_instance; }
DockWidgetManager(const DockWidgetManager &);
DockWidgetManager & operator = ( const DockWidgetManager & );
QMainWindow *m_mainWin;
......
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