src/hbcore/i18n/hbtranslator.cpp
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 3 11d3954df52a
--- a/src/hbcore/i18n/hbtranslator.cpp	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbcore/i18n/hbtranslator.cpp	Fri May 14 16:09:54 2010 +0300
@@ -66,7 +66,7 @@
 /*!
     Searches translation file \a file from path \a path.
     \code
-    HbTranslator trans("/resource/qt/custom/", "customfile");
+    HbTranslator trans = new HbTranslator("/resource/qt/custom/", "customfile");
     \endcode
 */
 HbTranslator::HbTranslator(const QString &path, const QString &file): d(new HbTranslatorPrivate())