main_window: remove Ctrl+S and Ctrl+D menu shortcuts

Ctrl+S (Manage Sites) and Ctrl+D (Batch Download) violate platform
conventions where these keys mean Save and Bookmark respectively.
Menu items remain accessible via File menu.

behavior change: Ctrl+S and Ctrl+D no longer trigger actions.
This commit is contained in:
pax 2026-04-11 22:18:34 -05:00
parent 0c0dd55907
commit 0a046bf936

View File

@ -488,7 +488,6 @@ class BooruApp(QMainWindow):
file_menu = menu.addMenu("&File")
sites_action = QAction("&Manage Sites...", self)
sites_action.setShortcut(QKeySequence("Ctrl+S"))
sites_action.triggered.connect(self._open_site_manager)
file_menu.addAction(sites_action)
@ -500,7 +499,6 @@ class BooruApp(QMainWindow):
file_menu.addSeparator()
self._batch_action = QAction("Batch &Download Page...", self)
self._batch_action.setShortcut(QKeySequence("Ctrl+D"))
self._batch_action.triggered.connect(self._post_actions.batch_download)
file_menu.addAction(self._batch_action)