summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2010-10-11 14:00:22 (GMT)
committerJerome Pasion <jerome.pasion@nokia.com>2010-10-11 14:00:22 (GMT)
commit0644896a666b1215dad9c04d73dd44f03554060d (patch)
treed7031beb9b5cf37683d0c5cb20672fb5cf046243 /src/corelib/tools
parent062b8cfa9b1ece569fe2a8ae18230c862ca6f857 (diff)
downloadQt-0644896a666b1215dad9c04d73dd44f03554060d.zip
Qt-0644896a666b1215dad9c04d73dd44f03554060d.tar.gz
Qt-0644896a666b1215dad9c04d73dd44f03554060d.tar.bz2
Added the default format of QTime::toString().
Task-number: QTBUG-13710 Reviewed-by: David Boddie
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qdatetime.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp
index ab7530d..c252e64 100644
--- a/src/corelib/tools/qdatetime.cpp
+++ b/src/corelib/tools/qdatetime.cpp
@@ -1630,6 +1630,7 @@ QString QTime::toString(Qt::DateFormat format) const
\endtable
If the datetime is invalid, an empty string will be returned.
+ If \a format is empty, the default format "hh:mm:ss" is used.
\sa QDate::toString() QDateTime::toString()
*/