From 37d5ef7969dddc85e58a3f37e0db00e5f253f41d Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 19 Jul 2016 06:59:43 +0300 Subject: [PATCH] fix build after e56e39cf the function is not a method of QWizardAntiFlickerWidget so there is no way it can access the private wizardPrivate member, oops Signed-off-by: Ivailo Monev --- src/gui/dialogs/qwizard.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/dialogs/qwizard.cpp b/src/gui/dialogs/qwizard.cpp index ab50dace4..9c5f47376 100644 --- a/src/gui/dialogs/qwizard.cpp +++ b/src/gui/dialogs/qwizard.cpp @@ -689,11 +689,7 @@ static QString buttonDefaultText(int wstyle, int which, const QWizardPrivate *wi if (macStyle) return QWizard::tr("Continue"); else -#if defined(QT_NO_STYLE_WINDOWSVISTA) return wizard->isVistaThemeEnabled() -#else - return wizardPrivate->isVistaThemeEnabled() -#endif ? QWizard::tr("&Next") : QWizard::tr("&Next >"); case QWizard::CommitButton: return QWizard::tr("Commit");