diff --git a/src/designer/src/lib/shared/widgetfactory.cpp b/src/designer/src/lib/shared/widgetfactory.cpp
index 28f48864271b983c10e31b907ce4aaa951f284e0..1cadf1b68371b6beba64e88aa68f07a341c06c8e 100644
--- a/src/designer/src/lib/shared/widgetfactory.cpp
+++ b/src/designer/src/lib/shared/widgetfactory.cpp
@@ -594,16 +594,6 @@ void WidgetFactory::initializeCommon(QWidget *widget) const
     // Apply style
     if (m_currentStyle)
         widget->setStyle(m_currentStyle);
-    // Prevent the wizard from emulating the Windows Vista Theme.
-    // This theme (in both Aero and Basic mode) is tricky to
-    // emulate properly in designer due to 1) the manipulation of the non-client area of
-    // the top-level window, and 2) the upper-right location of the Back button.
-    // The wizard falls back to QWizard::ModernStyle whenever the Vista theme
-    // would normally apply.
-    if (QWizard *wizard = qobject_cast<QWizard *>(widget)) {
-        wizard->setProperty("_q_wizard_vista_off", QVariant(true));
-        return;
-    }
 }
 
 // Necessary initializations for preview objects