Fix macOS tray icon
This commit is contained in:
parent
604368e3d2
commit
c165cbed32
1 changed files with 5 additions and 5 deletions
|
|
@ -135,18 +135,18 @@ private:
|
||||||
QImage iconImageDarkSelected(cWorkingDir() + "tdata/icon_dark_selected.png");
|
QImage iconImageDarkSelected(cWorkingDir() + "tdata/icon_dark_selected.png");
|
||||||
|
|
||||||
|
|
||||||
static const auto LightModeResult = iconImage.isNull()
|
static const auto LightModeResult = iconImageLight.isNull()
|
||||||
? WithColor({ 0, 0, 0, 180 })
|
? WithColor({ 0, 0, 0, 180 })
|
||||||
: iconImageLight;
|
: iconImageLight;
|
||||||
static const auto DarkModeResult = iconImageDark.isNull()
|
static const auto DarkModeResult = iconImageDark.isNull()
|
||||||
? WithColor({ 255, 255, 255 })
|
? WithColor({ 255, 255, 255 })
|
||||||
: iconImage.isNull()
|
: iconImageLight.isNull()
|
||||||
? iconImageDark
|
? iconImageDark
|
||||||
: iconImage;
|
: iconImageLight;
|
||||||
static const auto LightModeSelectedResult = iconImageLightSelected.isNull()
|
static const auto LightModeSelectedResult = iconImageLightSelected.isNull()
|
||||||
? (iconImage.isNull()
|
? (iconImageLight.isNull()
|
||||||
? DarkModeResult
|
? DarkModeResult
|
||||||
: iconImage)
|
: iconImageLight)
|
||||||
: iconImageLightSelected;
|
: iconImageLightSelected;
|
||||||
static const auto DarkModeSelectedResult = iconImageDarkSelected.isNull()
|
static const auto DarkModeSelectedResult = iconImageDarkSelected.isNull()
|
||||||
? DarkModeResult
|
? DarkModeResult
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue