Use proper carla-control icon in some systems
This commit is contained in:
parent
ba758223ce
commit
a128e0441e
|
@ -24,7 +24,7 @@ options = {
|
|||
}
|
||||
|
||||
boptions = {
|
||||
"iconfile": "./resources/ico/carla.icns"
|
||||
"iconfile": "./resources/ico/carla%s.icns" % ("-control" if SCRIPT_NAME == "Carla-Control" else "")
|
||||
}
|
||||
|
||||
if SCRIPT_NAME in ("Carla", "Carla-Control"):
|
||||
|
|
Binary file not shown.
|
@ -161,7 +161,7 @@ class CarlaApplication():
|
|||
if gCarla.nogui:
|
||||
return
|
||||
|
||||
if appName.lower() == "carla-control":
|
||||
if appName == "Carla2-Control":
|
||||
if QT_VERSION >= 0x50700:
|
||||
self.fApp.setDesktopFileName("carla-control")
|
||||
self.fApp.setWindowIcon(QIcon(":/scalable/carla-control.svg"))
|
||||
|
|
Loading…
Reference in New Issue