--- a/src/hbcore/utils/hbxmlloaderbaseactions_p.cpp Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbcore/utils/hbxmlloaderbaseactions_p.cpp Thu Sep 02 20:44:51 2010 +0300
@@ -303,17 +303,17 @@
if( ! mContext.isEmpty() ) {
QByteArray contextUtf8(mContext.toUtf8());
QByteArray valueUtf8(value.toUtf8());
-
- if (comment.isEmpty()) {
- return QCoreApplication::translate(
- contextUtf8.data(), valueUtf8.data(),
- 0, QCoreApplication::UnicodeUTF8 );
- } else {
- QByteArray commentUtf8(comment.toUtf8());
- return QCoreApplication::translate(
- contextUtf8.data(), valueUtf8.data(),
- commentUtf8.data(), QCoreApplication::UnicodeUTF8 );
- }
+
+ if (comment.isEmpty()) {
+ return QCoreApplication::translate(
+ contextUtf8.data(), valueUtf8.data(),
+ 0, QCoreApplication::UnicodeUTF8 );
+ } else {
+ QByteArray commentUtf8(comment.toUtf8());
+ return QCoreApplication::translate(
+ contextUtf8.data(), valueUtf8.data(),
+ commentUtf8.data(), QCoreApplication::UnicodeUTF8 );
+ }
} else {
return value;
}