OSDN Git Service

remove unused variable in QStyleHelper::drawDial()
authorIvailo Monev <xakepa10@laimg.moc>
Thu, 2 Apr 2020 07:00:35 +0000 (07:00 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Thu, 2 Apr 2020 07:00:35 +0000 (07:00 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/styles/qstylehelper.cpp

index 1a9f8f0..19d9963 100644 (file)
@@ -205,7 +205,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