From 06ee369fffaf132aea673cf5fa37c120ab141303 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Sat, 20 Jun 2020 15:38:33 +0200 Subject: [PATCH] Mild logging for settings.py --- qtgui/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qtgui/settings.py b/qtgui/settings.py index b3b94bd..ee49d57 100644 --- a/qtgui/settings.py +++ b/qtgui/settings.py @@ -46,6 +46,8 @@ class SettingsDialog(QtWidgets.QDialog): self.success = False + logger.info("Init settings dialog") + settings = QtCore.QSettings("LaborejoSoftwareSuite", METADATA["shortName"]) if settings.contains("launcherBlacklistPlainTextEdit"): self.ui.launcherBlacklistPlainTextEdit.setPlainText(settings.value("launcherBlacklistPlainTextEdit", type=str)) @@ -70,6 +72,7 @@ class SettingsDialog(QtWidgets.QDialog): self.setWindowFlag(QtCore.Qt.Popup, True) self.setModal(True) self.setFocus(True) + logger.info("Show settings dialog") self.exec_() @staticmethod