QWizard: Drop obsolete sentence in QWizard::currentId doc

Commit 2140edaaab0bf61f354db521efca773568becc56 introduced
QWizard::setCurrentId that allows setting the property
directly, so drop the obsolete sentence in the QWizard::currentId
doc stating that this isn't possible.

Pick-to: 6.8 6.5
Change-Id: I5e7da2323e66a6e8bfd653dfebcba4363023b744
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 71246cbdc64c4a5b3b3859421221bcc36c4a61c3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Michael Weghorn 2025-02-22 17:40:02 +01:00 committed by Qt Cherry-pick Bot
parent 16639502a7
commit 6f559732cf

View File

@ -2388,9 +2388,6 @@ QWizardPage *QWizard::currentPage() const
\property QWizard::currentId \property QWizard::currentId
\brief the ID of the current page \brief the ID of the current page
This property cannot be set directly. To change the current page,
call next(), back(), or restart().
By default, this property has a value of -1, indicating that no page is By default, this property has a value of -1, indicating that no page is
currently shown. currently shown.