fix: move QSettings init before timeline setup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-11 23:44:46 +02:00
parent d3e48f5276
commit 01961e9192
+1 -2
View File
@@ -1155,6 +1155,7 @@ class MainWindow(QMainWindow):
# Services
self._db = ProcessedDB()
self._settings = QSettings("8cut", "8cut")
# State
self._file_path: str = ""
@@ -1197,8 +1198,6 @@ class MainWindow(QMainWindow):
self._lbl_cursor = QLabel("cursor: --")
self._lbl_duration = QLabel("dur: --")
self._settings = QSettings("8cut", "8cut")
self._txt_name = QLineEdit("clip")
self._txt_name.setPlaceholderText("base name")
self._txt_name.setMaximumWidth(150)