diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-06-01 16:55:59 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-06-15 14:43:40 +0300 |
commit | e84605055fe576faba9d9245350e281e10403627 (patch) | |
tree | 3b5f95a2a8ca36ef0c1c51588d36370d1209987f /src/gui/protocolwidget.h | |
parent | dadf8ceb704e406175862349289e035d3af632d5 (diff) |
Change the resize behaviour of the header view
Diffstat (limited to 'src/gui/protocolwidget.h')
-rw-r--r-- | src/gui/protocolwidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/protocolwidget.h b/src/gui/protocolwidget.h index fff6c0d3b..3c6a563f9 100644 --- a/src/gui/protocolwidget.h +++ b/src/gui/protocolwidget.h @@ -30,6 +30,7 @@ class QPushButton; class QSortFilterProxyModel; namespace OCC { +class ExpandingHeaderView; namespace Ui { class ProtocolWidget; @@ -47,7 +48,7 @@ public: explicit ProtocolWidget(QWidget *parent = nullptr); ~ProtocolWidget() override; - static void showHeaderContextMenu(QWidget *parent, QSortFilterProxyModel *model); + static void showHeaderContextMenu(ExpandingHeaderView *header, QSortFilterProxyModel *model); static void showContextMenu(QWidget *parent, ProtocolItemModel *model, const QModelIndexList &items); |