Browse Source

workaround the workaround. original problem remaining

master
Nils 4 years ago
parent
commit
64ca2d274b
  1. 7
      qtgui/quickopensessioncontroller.py

7
qtgui/quickopensessioncontroller.py

@ -136,11 +136,12 @@ class StarterClientItem(QtWidgets.QListWidgetItem):
p.drawPixmap(2, 2, overlayPixmap) #top left corner of icon, with some padding for the shadow p.drawPixmap(2, 2, overlayPixmap) #top left corner of icon, with some padding for the shadow
p.end() p.end()
ico = QtGui.QIcon(pixmap) ico = QtGui.QIcon(pixmap)
self.setIcon(ico)
else: else:
if self.argodejoExec in self.parentController.mainWindow.programIcons: #there was a strange bug once where this happened exactly one, and then everything was fine, including this icon. Some DB backwards compatibility. if self.argodejoExec in self.parentController.mainWindow.programIcons: #there was a strange bug once where this happened exactly one, and then everything was fine, including this icon. Some DB backwards compatibility.
ico = self.parentController.mainWindow.programIcons[self.argodejoExec] ico = self.parentController.mainWindow.programIcons[self.argodejoExec]
self.setIcon(ico)
self.setIcon(ico)
#Status #Status
def ready(self): def ready(self):

Loading…
Cancel
Save