From d2d155235f916740a8788b6ec03cb85a18cd23a2 Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Mon, 27 Jan 2025 16:36:25 +0000 Subject: [PATCH] fix QKeySequence use in DBManager in Qt6 builds --- python/plugins/db_manager/sqledit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/plugins/db_manager/sqledit.py b/python/plugins/db_manager/sqledit.py index deb78274ff77..b4d92975125d 100644 --- a/python/plugins/db_manager/sqledit.py +++ b/python/plugins/db_manager/sqledit.py @@ -131,7 +131,7 @@ def initShortcuts(self): # Use Ctrl+Space for autocompletion self.shortcutAutocomplete = QShortcut( - QKeySequence(Qt.Modifier.CTRL + Qt.Key.Key_Space), self + QKeySequence(Qt.Modifier.CTRL | Qt.Key.Key_Space), self ) self.shortcutAutocomplete.setContext(Qt.ShortcutContext.WidgetShortcut) self.shortcutAutocomplete.activated.connect(self.autoComplete)