From 6f559732cf46f95f08de37c11d8b515c6e969c4e Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Sat, 22 Feb 2025 17:40:02 +0100 Subject: [PATCH] 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 (cherry picked from commit 71246cbdc64c4a5b3b3859421221bcc36c4a61c3) Reviewed-by: Qt Cherry-pick Bot --- src/widgets/dialogs/qwizard.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/widgets/dialogs/qwizard.cpp b/src/widgets/dialogs/qwizard.cpp index d7499ce552f..1fa9794aab3 100644 --- a/src/widgets/dialogs/qwizard.cpp +++ b/src/widgets/dialogs/qwizard.cpp @@ -2388,9 +2388,6 @@ QWizardPage *QWizard::currentPage() const \property QWizard::currentId \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 currently shown.