]> vaikene.ee Git - evaf/blobdiff - src/plugins/SdiWindow/sdiwindow.h
Replaced QPointer<> with QWeakPointer<>
[evaf] / src / plugins / SdiWindow / sdiwindow.h
index b2c3bc6c2fbdd69a1120d997091dd1bd586e489c..0032bc6dafd5986daabb74cc8b11d4f3e4800056 100644 (file)
@@ -28,6 +28,7 @@
 #include <QString>
 #include <QWidget>
 #include <QList>
+#include <QWeakPointer>
 
 class QVBoxLayout;
 
@@ -72,7 +73,7 @@ private: // Members
     QVBoxLayout * mLayout;
 
     /// Widgets and layouts added to the main window
-    QList<QObject *> mItemsAdded;
+    QList<QWeakPointer<QObject> > mItemsAdded;
 
 };