Removed futile startup timer.
authorJere Malinen <jeremmalinen@gmail.com>
Fri, 18 Jun 2010 19:17:16 +0000 (22:17 +0300)
committerJere Malinen <jeremmalinen@gmail.com>
Fri, 18 Jun 2010 19:17:16 +0000 (22:17 +0300)
This was only "necessary" when starting application from command line.

src/opt/netstory/netstory.py

index 484be24..586b204 100644 (file)
@@ -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):