summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/widgets/itemviews/qabstractitemview.cpp7
-rw-r--r--src/widgets/widgets/qdatetimeedit.cpp2
2 files changed, 4 insertions, 5 deletions
diff --git a/src/widgets/itemviews/qabstractitemview.cpp b/src/widgets/itemviews/qabstractitemview.cpp
index d7e757d7d7..20488f8f85 100644
--- a/src/widgets/itemviews/qabstractitemview.cpp
+++ b/src/widgets/itemviews/qabstractitemview.cpp
@@ -3712,10 +3712,9 @@ void QAbstractItemView::startDrag(Qt::DropActions supportedActions)
Initialize the \a option structure with the view's palette, font, state,
alignments etc.
- \note Implementations of this methods should check the \l{QStyleOption::}
- version of the structure received, populate all members the implementation
- is familiar with, and set the version member to the one supported by the
- implementation before returning.
+ \note Implementations of this methods should check the \l{QStyleOption::}version
+ of the structure received, populate all members the implementation is familiar with,
+ and set the version member to the one supported by the implementation before returning.
*/
void QAbstractItemView::initViewItemOption(QStyleOptionViewItem *option) const
{
diff --git a/src/widgets/widgets/qdatetimeedit.cpp b/src/widgets/widgets/qdatetimeedit.cpp
index 2e8033dbf1..df3b7c3876 100644
--- a/src/widgets/widgets/qdatetimeedit.cpp
+++ b/src/widgets/widgets/qdatetimeedit.cpp
@@ -368,7 +368,7 @@ void QDateTimeEdit::setCalendar(QCalendar calendar)
minimumTime properties to the date and time parts of this property,
respectively. When setting this property, the \l maximumDateTime is adjusted,
if necessary, to ensure that the range remains valid. Otherwise, changing this
- property preserves the \l minimumDateTime property.
+ property preserves the \l maximumDateTime property.
This property can only be set to a valid QDateTime value. The earliest
date-time that setMinimumDateTime() accepts is the start of 100 CE. The