summaryrefslogtreecommitdiff
path: root/qt5
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-03-29 17:43:42 +0100
committerAlbert Astals Cid <aacid@kde.org>2019-06-05 20:39:51 +0200
commit71830663e816a90841a2534ecc21a0923ab9dbba (patch)
tree7bdb10f7a601e1fe3343d5a121b6d7c180eb537f /qt5
parent3d410e44ab50f064671f6b3c72f7e7eb8d015aeb (diff)
ArthurOutputDev: Fix shadow warning
Diffstat (limited to 'qt5')
-rw-r--r--qt5/src/ArthurOutputDev.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt5/src/ArthurOutputDev.cc b/qt5/src/ArthurOutputDev.cc
index 3eec3eb3..faa6407b 100644
--- a/qt5/src/ArthurOutputDev.cc
+++ b/qt5/src/ArthurOutputDev.cc
@@ -844,7 +844,6 @@ bool ArthurOutputDev::axialShadedFill(GfxState *state, GfxAxialShading *shading,
}
// set the color
- GfxRGB rgb;
shading->getColorSpace()->getRGB(&color1, &rgb);
qColor.setRgb(colToByte(rgb.r), colToByte(rgb.g), colToByte(rgb.b));
gradient.setColorAt((ta[j] - tMin)/(tMax - tMin), qColor);