diff -r f7ac710697a9 -r 06ff229162e9 src/hbcore/i18n/hbtranslator.cpp --- 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())