]> vaikene.ee Git - evaf/commitdiff
Moved iProp interface registration to the constructor to fix a SEGFAULT in the iProp...
authorEnar Väikene <enar@vaikene.net>
Thu, 1 Dec 2011 14:14:13 +0000 (16:14 +0200)
committerEnar Väikene <enar@vaikene.net>
Thu, 1 Dec 2011 14:14:13 +0000 (16:14 +0200)
src/libs/Common/prop.cpp
src/libs/Common/version.h

index b3ccb6fa98b383d9ebc3ee034c1dee88e7c4b9e4..86d3b1e61558a034dbab336e8b821aa394699ceb 100644 (file)
@@ -47,6 +47,9 @@ Prop::Prop()
     , mPersistentProps(0)
 {
     setObjectName(QString("%1.iProp").arg(VER_MODULE_NAME_STR));
+
+    // Register the iProp interface
+    iRegistry::instance()->registerInterface("iProp", this);
 }
 
 Prop::~Prop()
@@ -61,9 +64,6 @@ iProp * Prop::interface() const
 
 bool Prop::init()
 {
-    // Register the iProp interface
-    iRegistry::instance()->registerInterface("iProp", this);
-
     // Set application name and language properties
     setValue("applicationName", iApp::instance()->name());
     setValue("applicationLanguage", iApp::instance()->language());
index b164cb5201c52e2738823ae7148a56d2c07db8cb..0a5f465a20d0c765289d353a2d8839f272f2bd18 100644 (file)
 /**
  * Module/library version number in the form major,minor,release,build
  */
-#define VER_FILE_VERSION                0,2,2,11
+#define VER_FILE_VERSION                0,2,3,12
 
 /**
  * Module/library version number in the string format (shall end with \0)
  */
-#define VER_FILE_VERSION_STR            "0.2.2.11\0"
+#define VER_FILE_VERSION_STR            "0.2.3.12\0"
 
 /**
  * Module/library name (shall end with \0)