diff --git a/src/widgets/dialogs/qwizard.h b/src/widgets/dialogs/qwizard.h index a40635c4a5..dc29c80f51 100644 --- a/src/widgets/dialogs/qwizard.h +++ b/src/widgets/dialogs/qwizard.h @@ -129,7 +129,7 @@ public: QWizardPage *page(int id) const; bool hasVisitedPage(int id) const; #if QT_DEPRECATED_SINCE(5, 15) - QList visitedPages() const; + Q_DECL_DEPRECATED_X("Use visitedIds() instead") QList visitedPages() const; #endif QList visitedIds() const; QList pageIds() const;