summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylehelper.cpp
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@qt.io>2017-10-12 16:32:07 +0200
committerJędrzej Nowacki <jedrzej.nowacki@qt.io>2017-10-14 07:04:39 +0000
commit2d4fe257cad8b10f284de7a0b10a1a297026e86d (patch)
tree1ba5616a436cf7a62aacf0e2aca2456d3a481a4f /src/widgets/styles/qstylehelper.cpp
parent7809bba68f65ad9e95691d52e6584314d4909bd0 (diff)
Remove some unused, local variables
Change-Id: I453162d2d396bb3427064d3b1593bb6c71376605 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/widgets/styles/qstylehelper.cpp')
-rw-r--r--src/widgets/styles/qstylehelper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/widgets/styles/qstylehelper.cpp b/src/widgets/styles/qstylehelper.cpp
index 24d90fc0ba..141b731b65 100644
--- a/src/widgets/styles/qstylehelper.cpp
+++ b/src/widgets/styles/qstylehelper.cpp
@@ -278,7 +278,6 @@ void drawDial(const QStyleOptionSlider *option, QPainter *painter)
buttonColor.setHsv(buttonColor .hue(),
qMin(140, buttonColor .saturation()),
qMax(180, buttonColor.value()));
- QColor shadowColor(0, 0, 0, 20);
if (enabled) {
// Drop shadow