fix: move QSettings init before timeline setup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1155,6 +1155,7 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
# Services
|
# Services
|
||||||
self._db = ProcessedDB()
|
self._db = ProcessedDB()
|
||||||
|
self._settings = QSettings("8cut", "8cut")
|
||||||
|
|
||||||
# State
|
# State
|
||||||
self._file_path: str = ""
|
self._file_path: str = ""
|
||||||
@@ -1197,8 +1198,6 @@ class MainWindow(QMainWindow):
|
|||||||
self._lbl_cursor = QLabel("cursor: --")
|
self._lbl_cursor = QLabel("cursor: --")
|
||||||
self._lbl_duration = QLabel("dur: --")
|
self._lbl_duration = QLabel("dur: --")
|
||||||
|
|
||||||
self._settings = QSettings("8cut", "8cut")
|
|
||||||
|
|
||||||
self._txt_name = QLineEdit("clip")
|
self._txt_name = QLineEdit("clip")
|
||||||
self._txt_name.setPlaceholderText("base name")
|
self._txt_name.setPlaceholderText("base name")
|
||||||
self._txt_name.setMaximumWidth(150)
|
self._txt_name.setMaximumWidth(150)
|
||||||
|
|||||||
Reference in New Issue
Block a user