Commit 71e1f2b3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Using no deprecated enum Qt::MiddleButton

parent 6141c222
......@@ -277,7 +277,7 @@ void RadialMap::Widget::mousePressEvent(QMouseEvent *e)
const bool isDir = m_focus->file()->isFolder();
// Open file
if (e->button() == Qt::MidButton || (e->button() == Qt::LeftButton && !isDir)) {
if (e->button() == Qt::MiddleButton || (e->button() == Qt::LeftButton && !isDir)) {
new KRun(url, this, true);
return;
......
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