diff options
| author | Méven Car <[email protected]> | 2024-08-13 11:01:43 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2024-08-16 07:05:28 +0000 |
| commit | c934e803647674b4692668f047b6ffa18121982a (patch) | |
| tree | af6331c033ec9d2f8c4b1b70bcaed83c08e8b654 /src | |
| parent | 1d67ba784aec76317288e1b13335c7d31607fa8b (diff) | |
Only accept left mouse button for double click actions
Such
* double click background
BUG: 485295
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 5 |
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(); |
