summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qwindowsstyle.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-04-27 16:35:42 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-04-28 08:50:45 (GMT)
commite8019cf8feb402303e6d253f5ca58bebfda42679 (patch)
treecba9df8712260b31ceb08f90ca8a94e1f0ae76d2 /src/gui/styles/qwindowsstyle.cpp
parent61c6d66b7efd8de4a83b021e7c4ef2b1a803ece2 (diff)
downloadQt-e8019cf8feb402303e6d253f5ca58bebfda42679.zip
Qt-e8019cf8feb402303e6d253f5ca58bebfda42679.tar.gz
Qt-e8019cf8feb402303e6d253f5ca58bebfda42679.tar.bz2
Fixes warnings about unused variables
Reviewed-by: jbache
Diffstat (limited to 'src/gui/styles/qwindowsstyle.cpp')
-rw-r--r--src/gui/styles/qwindowsstyle.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/styles/qwindowsstyle.cpp b/src/gui/styles/qwindowsstyle.cpp
index 44f3f92..f61fe67 100644
--- a/src/gui/styles/qwindowsstyle.cpp
+++ b/src/gui/styles/qwindowsstyle.cpp
@@ -2028,10 +2028,8 @@ void QWindowsStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPai
&& tabBarAlignment == Qt::AlignLeft);
QColor light = tab->palette.light().color();
- QColor midlight = tab->palette.midlight().color();
QColor dark = tab->palette.dark().color();
QColor shadow = tab->palette.shadow().color();
- QColor background = tab->palette.background().color();
int borderThinkness = proxy()->pixelMetric(PM_TabBarBaseOverlap, tab, widget);
if (selected)
borderThinkness /= 2;