Commit 71443e3c authored by Daalen, Tim van's avatar Daalen, Tim van
Browse files

new build of gui files

parent 7b9de3b2
......@@ -78,7 +78,7 @@ class Ui_tabBrowser(object):
self.homeButton = QtWidgets.QPushButton(tabBrowser)
self.homeButton.setText("")
icon = QtGui.QIcon()
if getattr(sys, 'frozen', True):
if getattr(sys, 'frozen', False):
icon.addPixmap(QtGui.QPixmap(join(dirname(realpath(sys.argv[0])), pardir) + "/icons/home.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
else:
icon.addPixmap(QtGui.QPixmap(dirname(realpath(sys.argv[0])) + "/icons/home.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
......
......@@ -94,7 +94,7 @@ class Ui_tabTicketAccess(object):
self.homeButton = QtWidgets.QPushButton(tabTicketAccess)
self.homeButton.setText("")
icon = QtGui.QIcon()
if getattr(sys, 'frozen', True):
if getattr(sys, 'frozen', False):
icon.addPixmap(QtGui.QPixmap(join(dirname(realpath(sys.argv[0])), pardir) + "/icons/home.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
else:
icon.addPixmap(QtGui.QPixmap(dirname(realpath(sys.argv[0])) + "/icons/home.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
......@@ -134,7 +134,7 @@ class Ui_tabTicketAccess(object):
self.downloadButton = QtWidgets.QPushButton(tabTicketAccess)
self.downloadButton.setText("")
icon1 = QtGui.QIcon()
if getattr(sys, 'frozen', True):
if getattr(sys, 'frozen', False):
icon1.addPixmap(QtGui.QPixmap(join(dirname(realpath(sys.argv[0])), pardir) + "/icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
else:
icon1.addPixmap(QtGui.QPixmap(dirname(realpath(sys.argv[0])) + "/icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
......
......@@ -133,7 +133,7 @@ class Ui_tabUpDownload(object):
self.UploadButton.setMinimumSize(QtCore.QSize(100, 0))
self.UploadButton.setText("")
icon = QtGui.QIcon()
if getattr(sys, 'frozen', True):
if getattr(sys, 'frozen', False):
icon.addPixmap(QtGui.QPixmap(join(dirname(realpath(sys.argv[0])), pardir) + "/icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
else:
icon.addPixmap(QtGui.QPixmap(dirname(realpath(sys.argv[0])) + "/icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
......@@ -150,7 +150,7 @@ class Ui_tabUpDownload(object):
self.DownloadButton.setMinimumSize(QtCore.QSize(100, 0))
self.DownloadButton.setText("")
icon1 = QtGui.QIcon()
if getattr(sys, 'frozen', True):
if getattr(sys, 'frozen', False):
icon1.addPixmap(QtGui.QPixmap(join(dirname(realpath(sys.argv[0])), pardir) + "/icons/arrow-left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
else:
icon1.addPixmap(QtGui.QPixmap(dirname(realpath(sys.argv[0])) + "/icons/arrow-left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment