Diffstat (limited to 'noncore/styles/liquid/liquid.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/styles/liquid/liquid.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/noncore/styles/liquid/liquid.cpp b/noncore/styles/liquid/liquid.cpp index 9a7d2dd..313d52c 100644 --- a/noncore/styles/liquid/liquid.cpp +++ b/noncore/styles/liquid/liquid.cpp | |||
@@ -1829,4 +1829,4 @@ QSize LiquidStyle::exclusiveIndicatorSize() const | |||
1829 | 1829 | ||
1830 | void LiquidStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int w, | 1830 | void LiquidStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int /*w*/, |
1831 | int h, const QColorGroup &g, bool on, | 1831 | int /*h*/, const QColorGroup &/*g*/, bool on, |
1832 | bool down, bool) | 1832 | bool down, bool) |
@@ -1872,4 +1872,4 @@ QSize LiquidStyle::indicatorSize() const | |||
1872 | 1872 | ||
1873 | void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int w, int h, | 1873 | void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int /*w*/, int /*h*/, |
1874 | const QColorGroup &g, int state, bool down, bool) | 1874 | const QColorGroup &/*g*/, int state, bool /*down*/, bool) |
1875 | { | 1875 | { |
@@ -1911,4 +1911,4 @@ void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int w, int h, | |||
1911 | 1911 | ||
1912 | void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int w, int h, | 1912 | void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int /*w*/, int /*h*/, |
1913 | int state) | 1913 | int /*state*/) |
1914 | { | 1914 | { |
@@ -1920,3 +1920,3 @@ void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int w, int h, | |||
1920 | void LiquidStyle::drawSlider(QPainter *p, int x, int y, int w, int h, | 1920 | void LiquidStyle::drawSlider(QPainter *p, int x, int y, int w, int h, |
1921 | const QColorGroup &g, Orientation orient, | 1921 | const QColorGroup &/*g*/, Orientation orient, |
1922 | bool, bool) | 1922 | bool, bool) |
@@ -1925,4 +1925,3 @@ void LiquidStyle::drawSlider(QPainter *p, int x, int y, int w, int h, | |||
1925 | p->setBrushOrigin(parent->pos()); | 1925 | p->setBrushOrigin(parent->pos()); |
1926 | p->fillRect(x, y, w, h, | 1926 | parent->erase(x, y, w, h); |
1927 | QApplication::palette().active().brush(QColorGroup::Background)); | ||
1928 | p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider) : | 1927 | p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider) : |
@@ -1931,3 +1930,3 @@ void LiquidStyle::drawSlider(QPainter *p, int x, int y, int w, int h, | |||
1931 | 1930 | ||
1932 | void LiquidStyle::drawSliderMask(QPainter *p, int x, int y, int w, int h, | 1931 | void LiquidStyle::drawSliderMask(QPainter *p, int x, int y, int /*w*/, int /*h*/, |
1933 | Orientation orient, bool, bool) | 1932 | Orientation orient, bool, bool) |
@@ -1982,3 +1981,3 @@ void LiquidStyle::drawArrow(QPainter *p, Qt::ArrowType type, bool on, int x, | |||
1982 | void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h, | 1981 | void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h, |
1983 | QMenuItem *mi, QColorGroup &g, bool enabled, bool active ) | 1982 | QMenuItem *mi, QColorGroup &g, bool /*enabled*/, bool active ) |
1984 | { | 1983 | { |
@@ -2036,4 +2035,4 @@ void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h, | |||
2036 | void LiquidStyle::drawPopupPanel(QPainter *p, int x, int y, int w, int h, | 2035 | void LiquidStyle::drawPopupPanel(QPainter *p, int x, int y, int w, int h, |
2037 | const QColorGroup &g, int lineWidth, | 2036 | const QColorGroup &g, int /*lineWidth*/, |
2038 | const QBrush * fill) | 2037 | const QBrush * /*fill*/) |
2039 | { | 2038 | { |