┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 8bc066455..bf605fa96 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -2922,7 +2922,10 @@ bool DolphinMainWindow::isItemVisibleInAnyView(const QString &urlOfItem)
void DolphinMainWindow::slotDoubleClickViewBackground(Qt::MouseButton button)
{
- Q_UNUSED(button) // might be of use later
+ if (button == Qt::MouseButton::LeftButton) {
+ // only handle left mouse button for now
+ return;
+ }
GeneralSettings *settings = GeneralSettings::self();
QString clickAction = settings->doubleClickViewAction();