summaryrefslogtreecommitdiffstats
path: root/application/groupview/GroupView.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-01-28 02:04:47 +0100
committerPetr Mrázek <peterix@gmail.com>2018-01-28 02:04:47 +0100
commit0bcb24502e07e69fe201d7f122bc9f9d3b69ee07 (patch)
tree86c0b8a66bee2c539b1a2a8f47c14b9644462a78 /application/groupview/GroupView.h
parent3277b820a7ba04560ce846c835378962e9052573 (diff)
downloadMultiMC-0bcb24502e07e69fe201d7f122bc9f9d3b69ee07.tar
MultiMC-0bcb24502e07e69fe201d7f122bc9f9d3b69ee07.tar.gz
MultiMC-0bcb24502e07e69fe201d7f122bc9f9d3b69ee07.tar.lz
MultiMC-0bcb24502e07e69fe201d7f122bc9f9d3b69ee07.tar.xz
MultiMC-0bcb24502e07e69fe201d7f122bc9f9d3b69ee07.zip
GH-2119 Update group view scrollbar when the size of rows doesn't change
Previously, it would only update when you resize the window horizontally enough to change the number of icons that fit in a row.
Diffstat (limited to 'application/groupview/GroupView.h')
-rw-r--r--application/groupview/GroupView.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/groupview/GroupView.h b/application/groupview/GroupView.h
index a3f8a400..a632c22f 100644
--- a/application/groupview/GroupView.h
+++ b/application/groupview/GroupView.h
@@ -96,6 +96,8 @@ protected:
void startDrag(Qt::DropActions supportedActions) override;
+ void updateScrollbar();
+
private:
friend struct VisualGroup;
QList<VisualGroup *> m_groups;