From 103d6b9e9207ce08d0ad4fc8c2df0e3a496a3086 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Wed, 18 May 2022 16:53:13 +0200 Subject: [PATCH] globalshortcuts: fix warning --- src/globalshortcuts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globalshortcuts.cpp b/src/globalshortcuts.cpp index 7e8b5afd6f..166e26db69 100644 --- a/src/globalshortcuts.cpp +++ b/src/globalshortcuts.cpp @@ -178,7 +178,7 @@ void GlobalShortcutsManager::registerTouchpadSwipe(QAction *action, SwipeDirecti void GlobalShortcutsManager::registerRealtimeTouchpadSwipe(QAction *action, std::function progressCallback, SwipeDirection direction, uint fingerCount) { - addIfNotExists(GlobalShortcut(RealtimeFeedbackSwipeShortcut{DeviceType::Touchpad, direction, progressCallback, fingerCount}, action)), DeviceType::Touchpad; + addIfNotExists(GlobalShortcut(RealtimeFeedbackSwipeShortcut{DeviceType::Touchpad, direction, progressCallback, fingerCount}, action), DeviceType::Touchpad); } void GlobalShortcutsManager::registerTouchpadPinch(QAction *action, PinchDirection direction, uint fingerCount)