733 self.printAct.triggered.connect(self.__tabWidget.printBrowser) |
733 self.printAct.triggered.connect(self.__tabWidget.printBrowser) |
734 self.__actions.append(self.printAct) |
734 self.__actions.append(self.printAct) |
735 else: |
735 else: |
736 self.printAct = None |
736 self.printAct = None |
737 |
737 |
738 # TODO: check this on macOS |
|
739 if Globals.isLinuxPlatform() or qVersion() >= "5.7.0": |
738 if Globals.isLinuxPlatform() or qVersion() >= "5.7.0": |
740 self.printPdfAct = E5Action( |
739 self.printPdfAct = E5Action( |
741 self.tr('Print as PDF'), |
740 self.tr('Print as PDF'), |
742 UI.PixmapCache.getIcon("printPdf.png"), |
741 UI.PixmapCache.getIcon("printPdf.png"), |
743 self.tr('Print as PDF'), |
742 self.tr('Print as PDF'), |