minor code cosmetic changes ^^

This commit is contained in:
shakasan 2017-09-30 12:12:10 +02:00
parent 913708329e
commit b10431f197

View file

@ -9,7 +9,6 @@ Licence : GPL3
import os import os
import sys import sys
import mozDefragMainWindow import mozDefragMainWindow
import mozDefragAboutWindow import mozDefragAboutWindow
from libMozDefrag import * from libMozDefrag import *
@ -68,9 +67,9 @@ class Ui_mozDefragMainWindow(QtWidgets.QMainWindow, # --- Main ---------------
def main(self): def main(self):
self.show() self.show()
icon = QtGui.QIcon() icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(__appDir__ icon.addPixmap(QtGui.QPixmap(__appDir__ +
+ os.path.sep + "pic" os.path.sep + "pic" +
+ os.path.sep + "icon.svg"), os.path.sep + "icon.svg"),
QtGui.QIcon.Normal, QtGui.QIcon.Normal,
QtGui.QIcon.Off) QtGui.QIcon.Off)
self.setWindowIcon(icon) self.setWindowIcon(icon)