From 0245962a5a8475fa41542cb2a0869e6acb037ae6 Mon Sep 17 00:00:00 2001 From: Jere Malinen Date: Fri, 18 Jun 2010 22:17:16 +0300 Subject: [PATCH] Removed futile startup timer. This was only "necessary" when starting application from command line. --- src/opt/netstory/netstory.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/opt/netstory/netstory.py b/src/opt/netstory/netstory.py index 484be24..586b204 100644 --- a/src/opt/netstory/netstory.py +++ b/src/opt/netstory/netstory.py @@ -43,13 +43,6 @@ class DataForm(QtGui.QMainWindow): self.progress = QtGui.QProgressDialog('Please wait...', 'Stop', 0, 100, self) self.progress.setWindowTitle('Generating tables') - - # This is gives time for UI to show up before updating tables - self.timer = QtCore.QBasicTimer() - self.timer.start(100, self) - - def timerEvent(self, event): - self.timer.stop() self.generate_traffic_tables() def change_max_rows(self): -- 1.7.9.5