diff --git a/src/app.py b/src/app.py index 8c65c4f..8a80758 100644 --- a/src/app.py +++ b/src/app.py @@ -48,7 +48,6 @@ def _read_json_file(path: Path): """Le JSON de um ficheiro devolvendo dict vazio em caso de erro.""" try: - main try: legacy_data = json.loads(LEGACY_CONFIG_FILE.read_text(encoding="utf-8")) APP_CONFIG_DIR.mkdir(parents=True, exist_ok=True) @@ -62,8 +61,6 @@ def _read_json_file(path: Path): try: codex/review-repository-code-hpjdax - -main if path.exists(): with open(path, "r", encoding="utf-8") as f: return json.load(f) @@ -155,8 +152,6 @@ def __init__(self): self.filters_panel_visible = True - main - self.setWindowTitle("Duplicate File Cleaner") self.setMinimumSize(900, 620) self.resize(1100, 750) @@ -431,7 +426,6 @@ def _build_scan_tab(self): codex/review-repository-code-l1cd2s - main self.toggle_filters_btn = QPushButton("Esconder Selecao") self.toggle_filters_btn.clicked.connect(self._toggle_filters_panel) mode_layout.addWidget(self.toggle_filters_btn) @@ -472,7 +466,6 @@ def _build_scan_tab(self): codex/review-repository-code-kf47vu filters_panel_layout.addWidget(scroll, 1) filter_layout.addWidget(scroll, 1) - main quick_btn_layout = QHBoxLayout() select_all_btn = QPushButton("Selecionar Tudo") @@ -495,11 +488,7 @@ def _build_scan_tab(self): filter_layout.addWidget(self.filters_panel_widget, 1) filter_layout.addLayout(custom_layout) - main - main - main - main scan_splitter.addWidget(filter_group) progress_group = QGroupBox("Progresso")