From 75285b7b8cdc09c33b1bfcea0b9b6305428e39d4 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 21 Sep 2020 17:35:58 +0200 Subject: Fix some qdoc warnings: broken links We can't split a \l{Class::}member over two lines. Change-Id: Id4806402ab349fd20fbf65eee9502e2d08e21dc5 Reviewed-by: Paul Wicking --- src/widgets/itemviews/qabstractitemview.cpp | 7 +++---- src/widgets/widgets/qdatetimeedit.cpp | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/widgets') 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 -- cgit v1.2.3