summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordka <darpan.k-a@nokia.com>2009-10-19 09:21:02 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-28 12:49:30 (GMT)
commit4f4c4fda9925f585128175796d04926863943dad (patch)
tree1ce58d20a170c436be267e33c9b0940312930277
parent244d8993c4aac6746306e58b1b766f804e2566f4 (diff)
downloadQt-4f4c4fda9925f585128175796d04926863943dad.zip
Qt-4f4c4fda9925f585128175796d04926863943dad.tar.gz
Qt-4f4c4fda9925f585128175796d04926863943dad.tar.bz2
QLocale: AM/PM symbol support for symbian platform
Reviewed-by: Denis Dzyubenko
-rw-r--r--src/corelib/tools/qlocale_symbian.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale_symbian.cpp b/src/corelib/tools/qlocale_symbian.cpp
index 1660e95..1273d06 100644
--- a/src/corelib/tools/qlocale_symbian.cpp
+++ b/src/corelib/tools/qlocale_symbian.cpp
@@ -873,9 +873,11 @@ QVariant QSystemLocale::query(QueryType type, QVariant in = QVariant()) const
}
case NegativeSign:
case PositiveSign:
+ break;
case AMText:
+ return qt_TDes2QString(TAmPmName(TAmPm(EAm)));
case PMText:
- break;
+ return qt_TDes2QString(TAmPmName(TAmPm(EPm)));
default:
break;
}