Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 9f9af42f authored by Anthony Fieroni's avatar Anthony Fieroni

[ThumbnailView] Fix mouse buttons handling

Differential Revision: Anthony Fieroni's avatarAnthony Fieroni <>
parent 40fedb71
......@@ -771,6 +771,17 @@ void ThumbnailView::wheelEvent(QWheelEvent* event)
void ThumbnailView::mousePressEvent(QMouseEvent* event)
switch (event->button()) {
case Qt::ForwardButton:
case Qt::BackButton:
void ThumbnailView::scrollToSelectedIndex()
QModelIndexList list = selectedIndexes();
......@@ -176,6 +176,8 @@ protected:
void startDrag(Qt::DropActions) override;
void mousePressEvent(QMouseEvent*) override;
protected Q_SLOTS:
void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override;
void rowsInserted(const QModelIndex& parent, int start, int end) override;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment