Skip to content

Commit

Permalink
Fix Debian12
Browse files Browse the repository at this point in the history
  • Loading branch information
melianmiko committed Sep 17, 2024
1 parent 9ee460f commit d017577
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion openfreebuds_qt/utils/icon/dual_connect_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ def create_dual_connect_icon(
background=PRESET_TRANSPARENT)

if is_playing:
accent_color = palette.accent().color().getRgb()
try:
accent_color = palette.accent().color().getRgb()
except AttributeError:
accent_color = (0, 128, 256)
overlay = image_combine_mask(OVERLAY_PLAYING,
foreground=Image.new("RGBA", ICON_SIZE, color=accent_color),
background=PRESET_TRANSPARENT)
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_qt_parts.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
cd "$(dirname "$0")"/..

pyuic6 openfreebuds_qt/designer
poetry run pyuic6 openfreebuds_qt/designer
/usr/lib/qt6/bin/lrelease openfreebuds_qt/assets/i18n/*.ts

0 comments on commit d017577

Please sign in to comment.