diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-04-30 11:21:28 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-05-06 09:56:02 +0000 |
commit | 8b833b8261b80ab8bf0dc9f812f7ab0ce8e52095 (patch) | |
tree | 9dc2085a069afa0fd7f79e32fe86bc497639c801 /src/libs/qmleditorwidgets/contextpanewidgetimage.cpp | |
parent | 9073c550355ccfc505b63b3bed292845cdfad9b2 (diff) |
Remove some workarounds for Qt bugs that have been fixed.
Change-Id: I0e7112ee3f3790fba42fc882cb98e06ec6a2186d
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/libs/qmleditorwidgets/contextpanewidgetimage.cpp')
-rw-r--r-- | src/libs/qmleditorwidgets/contextpanewidgetimage.cpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/libs/qmleditorwidgets/contextpanewidgetimage.cpp b/src/libs/qmleditorwidgets/contextpanewidgetimage.cpp index 3e458c5ae28..26dc2f89b17 100644 --- a/src/libs/qmleditorwidgets/contextpanewidgetimage.cpp +++ b/src/libs/qmleditorwidgets/contextpanewidgetimage.cpp @@ -30,8 +30,6 @@ #include "contextpanewidgetimage.h" -#include <utils/hostosinfo.h> - #include "ui_contextpanewidgetimage.h" #include "ui_contextpanewidgetborderimage.h" #include <qmljs/qmljspropertyreader.h> @@ -633,15 +631,10 @@ PreviewLabel::PreviewLabel(QWidget *parent) m_hooverInfo->setFrameShape(QFrame::StyledPanel); m_hooverInfo->setFrameShadow(QFrame::Sunken); - - // TODO: The following code should be enabled for OSX - // when QTBUG-23205 is fixed - if (!Utils::HostOsInfo::isMacHost()) { - QGraphicsDropShadowEffect *dropShadowEffect = new QGraphicsDropShadowEffect; - dropShadowEffect->setBlurRadius(4); - dropShadowEffect->setOffset(2, 2); - m_hooverInfo->setGraphicsEffect(dropShadowEffect); - } + QGraphicsDropShadowEffect *dropShadowEffect = new QGraphicsDropShadowEffect; + dropShadowEffect->setBlurRadius(4); + dropShadowEffect->setOffset(2, 2); + m_hooverInfo->setGraphicsEffect(dropShadowEffect); m_hooverInfo->setAutoFillBackground(true); m_hooverInfo->raise(); } |