summaryrefslogtreecommitdiffstats
path: root/tdegtk/tdegtk-theme.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-11-10 23:48:33 -0600
committerTimothy Pearson <[email protected]>2012-11-10 23:48:33 -0600
commitec156de9735a1b6183a0bede86986e132d080594 (patch)
tree4ed7d668b2d38024484288b172622cc976fc991d /tdegtk/tdegtk-theme.cpp
parentcf8d4ef895903edde76148ebf4ca9876bcf42d26 (diff)
downloadgtk3-tqt-engine-ec156de9735a1b6183a0bede86986e132d080594.tar.gz
gtk3-tqt-engine-ec156de9735a1b6183a0bede86986e132d080594.zip
Draw sliders with TQt3 methods
Diffstat (limited to 'tdegtk/tdegtk-theme.cpp')
-rw-r--r--tdegtk/tdegtk-theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdegtk/tdegtk-theme.cpp b/tdegtk/tdegtk-theme.cpp
index 66e4694..d52a5f0 100644
--- a/tdegtk/tdegtk-theme.cpp
+++ b/tdegtk/tdegtk-theme.cpp
@@ -610,7 +610,7 @@ void writeGtkThemeControlFile(int forceRecreate) {
stream << parse_rc_string(TQString("-GtkScrollbar-has-secondary-forward-stepper: ") + (forward1 ? "1" : "0"), "*");
stream << parse_rc_string(TQString("-GtkScrollbar-has-secondary-backward-stepper: ") + (back2 ? "1" : "0"), "*");
- m_scrollBarSubLineWidth = tqApp->style().querySubControlMetrics(TQStyle::CC_ScrollBar, &sbar, TQStyle::SC_ScrollBarSubLine).width() - 1;
+ m_scrollBarSubLineWidth = tqApp->style().querySubControlMetrics(TQStyle::CC_ScrollBar, &sbar, TQStyle::SC_ScrollBarSubLine).width();
stream << parse_rc_string("-GtkRange-stepper-size: " + TQString::number(m_scrollBarSubLineWidth), "GtkScrollbar");
stream << parse_rc_string("-GtkRange-slider-width: " + TQString::number(tqApp->style().pixelMetric(TQStyle::PM_ScrollBarExtent)), "GtkScrollbar");