Fix indentation

This commit is contained in:
Etoh 2017-12-26 12:54:22 +00:00
parent 84643dd6d7
commit a3b9fd98f4

View File

@ -136,17 +136,17 @@ class AboutDialog(QtWidgets.QDialog):
self.setSizeGripEnabled(False) self.setSizeGripEnabled(False)
self.setLayout(aboutLayout) self.setLayout(aboutLayout)
def openLicense(self): def openLicense(self):
if isWindows(): if isWindows():
QtGui.QDesktopServices.openUrl(QUrl("file:///" + resourcespath + u"license.rtf")) QtGui.QDesktopServices.openUrl(QUrl("file:///" + resourcespath + u"license.rtf"))
else: else:
QtGui.QDesktopServices.openUrl(QUrl("file://" + resourcespath + u"license.rtf")) QtGui.QDesktopServices.openUrl(QUrl("file://" + resourcespath + u"license.rtf"))
def openDependencies(self): def openDependencies(self):
if isWindows(): if isWindows():
QtGui.QDesktopServices.openUrl(QUrl("file:///" + resourcespath + u"third-party-notices.rtf")) QtGui.QDesktopServices.openUrl(QUrl("file:///" + resourcespath + u"third-party-notices.rtf"))
else: else:
QtGui.QDesktopServices.openUrl(QUrl("file://" + resourcespath + u"third-party-notices.rtf")) QtGui.QDesktopServices.openUrl(QUrl("file://" + resourcespath + u"third-party-notices.rtf"))
class MainWindow(QtWidgets.QMainWindow): class MainWindow(QtWidgets.QMainWindow):
insertPosition = None insertPosition = None