Remove a slot from BoxContent.
This commit is contained in:
parent
4ef97b57f6
commit
771f702056
2 changed files with 3 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ void BoxContent::onScrollToY(int top, int bottom) {
|
|||
}
|
||||
}
|
||||
|
||||
void BoxContent::onDraggingScrollDelta(int delta) {
|
||||
void BoxContent::scrollByDraggingDelta(int delta) {
|
||||
_draggingScrollDelta = _scroll ? delta : 0;
|
||||
if (_draggingScrollDelta) {
|
||||
if (!_draggingScrollTimer) {
|
||||
|
|
|
|||
|
|
@ -192,11 +192,11 @@ public:
|
|||
getDelegate()->setNoContentMargin(noContentMargin);
|
||||
}
|
||||
|
||||
void scrollByDraggingDelta(int delta);
|
||||
|
||||
public slots:
|
||||
void onScrollToY(int top, int bottom = -1);
|
||||
|
||||
void onDraggingScrollDelta(int delta);
|
||||
|
||||
protected:
|
||||
virtual void prepare() = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue