--- a/Helpviewer/HelpBrowserWV.py Fri Feb 24 11:15:28 2012 +0100 +++ b/Helpviewer/HelpBrowserWV.py Sat Feb 25 16:26:01 2012 +0100 @@ -263,8 +263,7 @@ html = notFoundPage_html title = self.trUtf8("Error loading page: {0}").format(urlString) pixmap = qApp.style()\ - .standardIcon(QStyle.SP_MessageBoxWarning, None, self.parent())\ - .pixmap(32, 32) + .standardIcon(QStyle.SP_MessageBoxWarning).pixmap(32, 32) imageBuffer = QBuffer() imageBuffer.open(QIODevice.ReadWrite) if pixmap.save(imageBuffer, "PNG"): @@ -1398,8 +1397,7 @@ urlString = bytes(replyUrl.toEncoded()).decode() title = self.trUtf8("Error loading page: {0}").format(urlString) pixmap = qApp.style()\ - .standardIcon(QStyle.SP_MessageBoxWarning, None, self)\ - .pixmap(32, 32) + .standardIcon(QStyle.SP_MessageBoxWarning).pixmap(32, 32) imageBuffer = QBuffer() imageBuffer.open(QIODevice.ReadWrite) if pixmap.save(imageBuffer, "PNG"):