wlanutilities/wlanindicatorplugin/src/wlanindicatorplugin.cpp
changeset 50 d4198dcb9983
parent 46 2fbd1d709fe7
--- a/wlanutilities/wlanindicatorplugin/src/wlanindicatorplugin.cpp	Tue Jul 06 15:29:22 2010 +0300
+++ b/wlanutilities/wlanindicatorplugin/src/wlanindicatorplugin.cpp	Wed Aug 18 10:52:46 2010 +0300
@@ -96,8 +96,8 @@
     Q_UNUSED(indicatorType)
     
     // Install localization
-    HbTranslator *translator(new HbTranslator("wlanindicatorplugin"));
-    
+    mTranslator = QSharedPointer<HbTranslator>(new HbTranslator("wlanindicatorplugin"));
+
     OstTraceFunctionExit1(WLANINDICATORPLUGIN_CREATEINDICATOR_EXIT, this);
     return this;
 }