--- a/WebBrowser/WebBrowserTabWidget.py Thu Nov 23 17:50:51 2017 +0100 +++ b/WebBrowser/WebBrowserTabWidget.py Sat Nov 25 13:49:54 2017 +0100 @@ -185,18 +185,13 @@ self.__tabContextMenu.addAction( self.tr('Close All'), self.closeAllBrowsers) self.__tabContextMenu.addSeparator() - # TODO: re-check this once printing on Windows is reliable -## if qVersionTuple() >= (5, 8, 0) or ( -## not Globals.isWindowsPlatform() and qVersionTuple() < (5, 7, 0)): - if not Globals.isWindowsPlatform() and ( - qVersionTuple() < (5, 7, 0) or qVersionTuple() >= (5, 8, 0)): + if qVersionTuple() >= (5, 8, 0) or ( + not Globals.isWindowsPlatform() and qVersionTuple() < (5, 7, 0)): self.__tabContextMenu.addAction( UI.PixmapCache.getIcon("printPreview.png"), self.tr('Print Preview'), self.__tabContextMenuPrintPreview) - # TODO: re-check this once printing on Windows is reliable -## if qVersionTuple() >= (5, 8, 0) or ( -## not Globals.isWindowsPlatform() or qVersionTuple() >= (5, 7, 0)): - if not Globals.isWindowsPlatform() and qVersionTuple() >= (5, 7, 0): + if qVersionTuple() >= (5, 8, 0) or ( + not Globals.isWindowsPlatform() or qVersionTuple() >= (5, 7, 0)): self.__tabContextMenu.addAction( UI.PixmapCache.getIcon("print.png"), self.tr('Print'), self.__tabContextMenuPrint)