Skip to content

v2.2.9

Latest

Choose a tag to compare

@oesponda oesponda released this 03 Nov 01:59
· 4 commits to master since this release

Apply bundle icons to Qt message boxes and standalone dialogs

Message boxes and dialogs spawned from hooks, apps, frameworks and engines
now show the icon of the bundle they belong to instead of the default OS
app icon, both in the window titlebar and on the Windows taskbar.

  • guarded import of the shared resolver get_bundle_window_icon
    (sgtk_utility_functions), which resolves the bundle's own icon_256 with
    fallback to the engine icon, and degrades gracefully on engines without
    Qt support (like tk-shell)
  • static QMessageBox calls (warning/info/critical/question) converted to
    show_message_box_with_bundle_icon, preserving parents, buttons and
    return values
  • window icon also applied to standalone QDialog/QWidget windows, not
    only message boxes
  • no functional change otherwise: popup texts, buttons and flows are kept