fix segmentation fault

This fixes the segmentation fault during startup for me (Ubuntu 11.04).
Please test if this fixes also your problems with this...

Possibly fixes #53, possibly fixes #54
This commit is contained in:
Martin Baeuml
2011-09-26 18:08:53 +02:00
parent 479bd7015a
commit c6a370041f
+1 -1
View File
@@ -109,7 +109,7 @@ class MainWindow(QMainWindow):
self.statusBar().showMessage("Background loading finished", 5000)
self.idletimer.stop()
if self.loader is not None:
self.idletimer.timeout.disconnect()
self.idletimer.timeout.disconnect(self.loader.load)
self.statusBar().removeWidget(self.sb_progress)
self.loader = None