This repository has been archived on 2025-12-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
yachat/qt-patches/002-all-all-SmoothScrollBar compatibility.patch

22 lines
766 B
Diff
Raw Normal View History

2025-12-25 01:37:49 +05:00
diff -urN qt-x11-opensource-src-4.3.5.orig/src/gui/widgets/qabstractslider.h qt-x11-opensource-src-4.3.5/src/gui/widgets/qabstractslider.h
--- qt-x11-opensource-src-4.3.5.orig/src/gui/widgets/qabstractslider.h 2008-09-02 16:12:14.000000000 +0400
+++ qt-x11-opensource-src-4.3.5/src/gui/widgets/qabstractslider.h 2008-09-02 16:50:36.000000000 +0400
@@ -80,7 +80,7 @@
void setMaximum(int);
int maximum() const;
- void setRange(int min, int max);
+ virtual void setRange(int min, int max);
void setSingleStep(int);
int singleStep() const;
@@ -119,7 +119,7 @@
void triggerAction(SliderAction action);
public Q_SLOTS:
- void setValue(int);
+ virtual void setValue(int);
void setOrientation(Qt::Orientation);
Q_SIGNALS: