diff -r 0b2439c3e397 -r 4545c04e61e1 bluetoothengine/btindicator/src/btindicatorplugin.cpp --- a/bluetoothengine/btindicator/src/btindicatorplugin.cpp Tue Jul 06 14:27:09 2010 +0300 +++ b/bluetoothengine/btindicator/src/btindicatorplugin.cpp Wed Aug 18 09:59:05 2010 +0300 @@ -34,9 +34,9 @@ // BTIndicatorPlugin::~BTIndicatorPlugin // ---------------------------------------------------------------------------- BTIndicatorPlugin::~BTIndicatorPlugin() - { +{ delete mIndicatorTranslator; - } +} // ---------------------------------------------------------------------------- // BTIndicatorPlugin::indicatorTypes @@ -70,10 +70,9 @@ // ---------------------------------------------------------------------------- HbIndicatorInterface* BTIndicatorPlugin::createIndicator(const QString &indicatorType) { - if(!mIndicatorTranslator) - { + if(!mIndicatorTranslator) { mIndicatorTranslator = new HbTranslator(BTINDICATOR_TRANSLATION); - } + } HbIndicatorInterface *indicator = new BTIndicator(indicatorType); return indicator; }