summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-02-27 14:10:50 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-02-27 15:18:17 +0000
commita8aa3dc5c71ffeaafd0df60cfabf2779cf4daadc (patch)
treed359e7253374ee982cebf169692c24056e0bc2cc /src
parent1b72d3e645a41c7b7f7731cecbd7119b8e7f7f28 (diff)
QDate/Time,QTimeZone: Fix empty documentation section titles
Change-Id: I674c4bb1805a7f7bc95512b07b0278446ebe7772 Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qdatetime.cpp7
-rw-r--r--src/corelib/tools/qtimezone.cpp2
2 files changed, 4 insertions, 5 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp
index df5e4e44e4..49e7173de0 100644
--- a/src/corelib/tools/qdatetime.cpp
+++ b/src/corelib/tools/qdatetime.cpp
@@ -357,7 +357,7 @@ static int fromOffsetString(const QStringRef &offsetString, bool *valid) Q_DECL_
there are in this date's month and year, respectively. The
isLeapYear() function indicates whether a date is in a leap year.
- \section1
+ \section1 Remarks
\section2 No Year 0
@@ -3047,7 +3047,7 @@ inline qint64 QDateTimePrivate::zoneMSecsToEpochMSecs(qint64 zoneMSecs, const QT
\note QDateTime does not account for leap seconds.
- \section1
+ \section1 Remarks
\section2 No Year 0
@@ -3065,8 +3065,7 @@ inline qint64 QDateTimePrivate::zoneMSecsToEpochMSecs(qint64 zoneMSecs, const QT
extreme values that you do not overflow the storage. The exact range of
supported values varies depending on the Qt::TimeSpec and time zone.
- \section2
- Use of System Timezone
+ \section2 Use of System Timezone
QDateTime uses the system's time zone information to determine the
offset of local time from UTC. If the system is not configured
diff --git a/src/corelib/tools/qtimezone.cpp b/src/corelib/tools/qtimezone.cpp
index 65c304bcf7..daa7dc1531 100644
--- a/src/corelib/tools/qtimezone.cpp
+++ b/src/corelib/tools/qtimezone.cpp
@@ -139,7 +139,7 @@ Q_GLOBAL_STATIC(QTimeZoneSingleton, global_tz);
\note For consistency with QDateTime, QTimeZone does not account for leap
seconds.
- \section1
+ \section1 Remarks
\section2 IANA Time Zone IDs