diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-04-27 16:35:42 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-04-28 08:50:45 (GMT) |
commit | e8019cf8feb402303e6d253f5ca58bebfda42679 (patch) | |
tree | cba9df8712260b31ceb08f90ca8a94e1f0ae76d2 /src/gui/styles/qwindowsstyle.cpp | |
parent | 61c6d66b7efd8de4a83b021e7c4ef2b1a803ece2 (diff) | |
download | Qt-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.cpp | 2 |
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; |