Browse Source

workaround the workaround. original problem remaining

master
Nils 3 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.end()
ico = QtGui.QIcon(pixmap)
self.setIcon(ico)
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.
ico = self.parentController.mainWindow.programIcons[self.argodejoExec]
self.setIcon(ico)
ico = self.parentController.mainWindow.programIcons[self.argodejoExec]
self.setIcon(ico)
#Status
def ready(self):

Loading…
Cancel
Save