1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

First pass code cleanup in qt/qtlib

This commit is contained in:
2021-08-24 00:12:23 -05:00
parent d576a7043c
commit f9085386a6
25 changed files with 195 additions and 233 deletions

View File

@@ -16,7 +16,7 @@ from PyQt5.QtWidgets import (
)
from hscommon.trans import trget
from qtlib.util import horizontalWrap
from qtlib.util import horizontal_wrap
from .ignore_list_table import IgnoreListTable
tr = trget("ui")
@@ -56,7 +56,7 @@ class IgnoreListDialog(QDialog):
self.clearButton = QPushButton(tr("Clear"))
self.closeButton = QPushButton(tr("Close"))
self.verticalLayout.addLayout(
horizontalWrap([self.removeSelectedButton, self.clearButton, None, self.closeButton])
horizontal_wrap([self.removeSelectedButton, self.clearButton, None, self.closeButton])
)
# --- model --> view