mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-07-20 12:36:19 +02:00
chore: cleanup comments
This commit is contained in:
@@ -221,8 +221,6 @@ class MainMenuBar(QMenuBar):
|
||||
|
||||
# Clear Selection
|
||||
self.clear_select_action = QAction(Translations["select.clear"], self)
|
||||
# self.clear_select_action.setShortcut(QtCore.Qt.Key.Key_Escape)
|
||||
# self.clear_select_action.setToolTip("Esc")
|
||||
self.clear_select_action.setEnabled(False)
|
||||
self.edit_menu.addAction(self.clear_select_action)
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@ logger = structlog.get_logger(__name__)
|
||||
class PreviewPanelView(QVBoxLayout):
|
||||
def __init__(self, driver: "QtDriver", pixel_ratio: float) -> None:
|
||||
super().__init__()
|
||||
# Init Layout
|
||||
self.setContentsMargins(0, 0, 0, 0)
|
||||
self.setSpacing(6)
|
||||
rm = ResourceManager()
|
||||
|
||||
@@ -25,7 +25,6 @@ logger = structlog.get_logger(__name__)
|
||||
class SuggestBoxView(QVBoxLayout):
|
||||
def __init__(self, placeholder_text: str = "") -> None:
|
||||
super().__init__()
|
||||
# Init layout
|
||||
self.setContentsMargins(0, 0, 0, 0)
|
||||
self.setSpacing(0)
|
||||
|
||||
@@ -78,6 +77,6 @@ class SuggestBoxView(QVBoxLayout):
|
||||
self.search_field.setPlaceholderText(placeholder_text)
|
||||
self.scroll_area.setFocusProxy(self.search_field)
|
||||
|
||||
# Finalize layout
|
||||
# Finalize Layout
|
||||
self.addWidget(scroll_area_container)
|
||||
self.addWidget(self.search_field)
|
||||
|
||||
Reference in New Issue
Block a user