Commit 45bfedeb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Merge remote-tracking branch 'origin/release/20.08' into master

parents bacabb95 02d9b702
Pipeline #32471 passed with stage
in 66 minutes and 7 seconds
......@@ -565,7 +565,7 @@ Akonadi::Collection FolderTreeView::currentFolder() const
void FolderTreeView::mousePressEvent(QMouseEvent *e)
{
const bool buttonPressedIsMiddle = (e->button() == Qt::MidButton);
const bool buttonPressedIsMiddle = (e->button() == Qt::MiddleButton);
Q_EMIT newTabRequested(buttonPressedIsMiddle);
EntityTreeView::mousePressEvent(e);
}
......
......@@ -63,7 +63,7 @@ FavoriteCollectionWidget::~FavoriteCollectionWidget()
void FavoriteCollectionWidget::mousePressEvent(QMouseEvent *e)
{
const bool buttonPressedIsMiddle = (e->button() == Qt::MidButton);
const bool buttonPressedIsMiddle = (e->button() == Qt::MiddleButton);
Q_EMIT newTabRequested(buttonPressedIsMiddle);
Akonadi::EntityListView::mousePressEvent(e);
}
......
Supports Markdown
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