mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix macOS tray icon
This commit is contained in:
@@ -135,18 +135,18 @@ private:
|
||||
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 })
|
||||
: iconImageLight;
|
||||
static const auto DarkModeResult = iconImageDark.isNull()
|
||||
? WithColor({ 255, 255, 255 })
|
||||
: iconImage.isNull()
|
||||
: iconImageLight.isNull()
|
||||
? iconImageDark
|
||||
: iconImage;
|
||||
: iconImageLight;
|
||||
static const auto LightModeSelectedResult = iconImageLightSelected.isNull()
|
||||
? (iconImage.isNull()
|
||||
? (iconImageLight.isNull()
|
||||
? DarkModeResult
|
||||
: iconImage)
|
||||
: iconImageLight)
|
||||
: iconImageLightSelected;
|
||||
static const auto DarkModeSelectedResult = iconImageDarkSelected.isNull()
|
||||
? DarkModeResult
|
||||
|
Reference in New Issue
Block a user