Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 62176 | Differences between
and this patch

Collapse All | Expand All

(-)src/qt_qt_wrapper.cpp.orig (-2 / +12 lines)
Lines 860-865 Link Here
860
{
860
{
861
	if (!gtkQtEnable)
861
	if (!gtkQtEnable)
862
		return;
862
		return;
863
864
	if (orientation == GTK_ORIENTATION_HORIZONTAL)
865
	{
866
		y--;
867
	}
868
	else
869
	{
870
		x--;
871
	}
872
863
	
873
	
864
	if(CachedImage* it = cacheFind(CachedImage::ScrollBarSlider, state, w, h))
874
	if(CachedImage* it = cacheFind(CachedImage::ScrollBarSlider, state, w, h))
865
	{
875
	{
Lines 885-893 Link Here
885
	delta += offset;
895
	delta += offset;
886
896
887
	if (orientation) {
897
	if (orientation) {
888
		sbar.resize(w, h + delta + 1);
898
		sbar.resize(w, h + delta);
889
	} else {
899
	} else {
890
		sbar.resize(w + delta + 1, h);
900
		sbar.resize(w + delta, h);
891
	}
901
	}
892
902
893
	sbar.setMinValue(0);
903
	sbar.setMinValue(0);

Return to bug 62176