close();
// Delete all the items added to the main window
- while (mItemsAdded.count() > 0)
- delete mItemsAdded.takeAt(0);
+ while (mItemsAdded.count() > 0) {
+ QPointer<QObject> item = mItemsAdded.takeAt(0);
+ if (item)
+ delete item.data();
+ }
EVAF_INFO("%s finalized", qPrintable(objectName()));
}
/**
* Module/library version number in the form major,minor,release,build
*/
-#define VER_FILE_VERSION 0,2,1,2
+#define VER_FILE_VERSION 0,2,2,3
/**
* Module/library version number in the string format (shall end with \0)
*/
-#define VER_FILE_VERSION_STR "0.2.1.2\0"
+#define VER_FILE_VERSION_STR "0.2.2.3\0"
/**
* Module/library name (shall end with \0)