diff -r 801289962f4e -r 57179e4cdadd Graphics/PackageDiagramBuilder.py --- a/Graphics/PackageDiagramBuilder.py Mon Oct 14 20:08:19 2013 +0200 +++ b/Graphics/PackageDiagramBuilder.py Tue Oct 15 18:29:32 2013 +0200 @@ -87,7 +87,8 @@ tot = len(modules) try: prog = 0 - progress = QProgressDialog(self.trUtf8("Parsing modules..."), + progress = QProgressDialog( + self.trUtf8("Parsing modules..."), None, 0, tot, self.parent()) progress.show() QApplication.processEvents() @@ -145,7 +146,8 @@ tot += len(glob.glob(Utilities.normjoinpath(subpackage, ext))) try: prog = 0 - progress = QProgressDialog(self.trUtf8("Parsing modules..."), + progress = QProgressDialog( + self.trUtf8("Parsing modules..."), None, 0, tot, self.parent()) progress.show() QApplication.processEvents()