X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fprop.cpp;h=86d3b1e61558a034dbab336e8b821aa394699ceb;hb=51afea61c3cf72248b2998f6874a354b49ed12ca;hp=b3ccb6fa98b383d9ebc3ee034c1dee88e7c4b9e4;hpb=f01d61fb753b347bbff2ffb7f224650ac3f9d81e;p=evaf
diff --git a/src/libs/Common/prop.cpp b/src/libs/Common/prop.cpp
index b3ccb6f..86d3b1e 100644
--- a/src/libs/Common/prop.cpp
+++ b/src/libs/Common/prop.cpp
@@ -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());