minor code cosmetic changes ^^
This commit is contained in:
parent
913708329e
commit
b10431f197
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue