diff --git a/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp b/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp index 1fbd624408c..927dbbf23b6 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp @@ -48,6 +48,8 @@ #include #include #include +#include + #include @@ -57,11 +59,16 @@ class CleanLooksSingleton { public: static CleanLooksSingleton* instance(); - QCleanlooksStyle* style() {return &m_style; }; + QStyle* style() {return &m_style; }; private: static CleanLooksSingleton *m_instance; + +#ifdef Q_OS_MAC + QPlastiqueStyle m_style; +#else QCleanlooksStyle m_style; +#endif //Q_OS_MAC CleanLooksSingleton() {} CleanLooksSingleton( const CleanLooksSingleton& );