• René J.V. Bertin's avatar
    Don't remove an existing app icon · 2042e4da
    René J.V. Bertin authored
    This corrects commit 0d56bd9a
    which had the effect of removing the embedded application icon
    on systems like Mac and MS Windows where icon themes are typically
    not configured, and QIcon::fromTheme() thus returns an empty QIcon.
    QIcon::fromTheme() should always be called with a valid fallback
    icon, for instance the target icon (QApplication::windowIcon()).
main.cpp 34.3 KB