|
1 | NO CONTENT: modified file, binary diff hidden |
@@ -44,8 +44,16 void ChartBackground::setDropShadowEnabled(bool enabled) | |||
|
44 | 44 | if (enabled) { |
|
45 | 45 | if (!m_dropShadow) { |
|
46 | 46 | m_dropShadow = new QGraphicsDropShadowEffect(); |
|
47 | #ifdef Q_OS_MAC | |
|
48 | m_dropShadow->setBlurRadius(15); | |
|
49 | m_dropShadow->setOffset(0, 0); | |
|
50 | #elif defined(Q_OS_WIN) | |
|
51 | m_dropShadow->setBlurRadius(10); | |
|
52 | m_dropShadow->setOffset(0, 0); | |
|
53 | #else | |
|
47 | 54 | m_dropShadow->setBlurRadius(10); |
|
48 | 55 | m_dropShadow->setOffset(5, 5); |
|
56 | #endif | |
|
49 | 57 | setGraphicsEffect(m_dropShadow); |
|
50 | 58 | } |
|
51 | 59 | } else { |
General Comments 0
You need to be logged in to leave comments.
Login now