From 592a4fddb7a837eb55ada12bc78586bcc7348528 Mon Sep 17 00:00:00 2001 From: nephlm Date: Tue, 22 Jan 2019 00:41:32 -0500 Subject: [PATCH] #459 - remove debug/dead code --- manuskript/ui/tools/targets.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/manuskript/ui/tools/targets.py b/manuskript/ui/tools/targets.py index b5eca994..9d73e76d 100644 --- a/manuskript/ui/tools/targets.py +++ b/manuskript/ui/tools/targets.py @@ -17,7 +17,6 @@ class targetsDialog(QWidget, Ui_targets): self.setWindowIcon(QIcon(iconPic)) self.session_reset.clicked.connect(self.resetSession) - #self.mw.onClose.connect(self.parentClosed) self.tick() @@ -35,7 +34,6 @@ class targetsDialog(QWidget, Ui_targets): def resetSession(self): wc, _, _ = self.getDraftStats() self.mw.sessionStartWordCount = wc - print('reset session') self.tick() @staticmethod @@ -44,7 +42,6 @@ class targetsDialog(QWidget, Ui_targets): def tick(self): wc, goal, progress = self.getDraftStats() - print(wc, goal, progress) self.draft_wc_label.setText(locale.format("%d", wc, grouping=True)) self.draft_goal_label.setText(locale.format("%d", goal, grouping=True)) @@ -57,10 +54,6 @@ class targetsDialog(QWidget, Ui_targets): self.session_progress_bar.setValue(0) else: self.session_progress_bar.setValue(self.progress_bar_value(session_wc / self.session_target.value())) - print(self.mw.sessionStartWordCount, session_wc, self.session_progress_bar.value()) def closeEvent(self, event): self.timer = None - - def parentClosed(self): - print('App closed') \ No newline at end of file