Fix qdoc errors

Change-Id: I83f21bd6b780daa545c57d050d0f7562e8c0a4ff
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
This commit is contained in:
Mitch Curtis 2020-09-03 09:55:33 +02:00
parent 113ea20a12
commit f872cdde21
3 changed files with 7 additions and 5 deletions

View File

@ -98,7 +98,7 @@ Let's modify the default QML code to suit our needs.
\quotefromfile chattutorial/chapter1-settingup/main.qml
\skipto import
\printuntil import QtQuick.Controls 2.12
\printuntil import QtQuick.Controls
First, import the \l {Qt Quick} module. This gives us
access to graphical primitives such as \l Item, \l Rectangle, \l Text, and so
@ -667,8 +667,8 @@ changes to be done to \c ContactPage.qml. To be able to use the types,
we must first import them using the URI we set in \c main.cpp:
\quotefromfile chattutorial/chapter4-models/ContactPage.qml
\skipto import io.qt.examples.chattutorial 1.0
\printline import io.qt.examples.chattutorial 1.0
\skipto import io.qt.examples.chattutorial
\printline import io.qt.examples.chattutorial
We then replace the dummy model with the proper one:

View File

@ -711,8 +711,8 @@
\image qtquickcontrols2-popup-custom.png
\quotefromfile qtquickcontrols2-popup-custom.qml
\skipto import QtQuick 2.12
\printuntil import QtQuick.Controls 2.12
\skipto import QtQuick
\printuntil import QtQuick.Controls
\codeline
\skipto Popup
\printuntil {

View File

@ -849,6 +849,8 @@ qreal QQuickComboBoxPrivate::calculateWidestTextWidth() const
}
/*!
\internal
If the user requested it (and we haven't already done it, depending on the policy),
update the implicit content width to the largest text in the model.
*/