Replace getThemedIcon with APPLICATION->logo()

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-09-19 00:03:22 +01:00
parent 1724bdaeb9
commit cd4f119e4b
67 changed files with 93 additions and 133 deletions

View File

@@ -59,7 +59,7 @@ ResourceDownloadDialog::ResourceDownloadDialog(QWidget* parent, const std::share
resize(static_cast<int>(std::max(0.5 * parent->width(), 400.0)), static_cast<int>(std::max(0.75 * parent->height(), 400.0)));
setWindowIcon(APPLICATION->getThemedIcon("new"));
setWindowIcon(QIcon::fromTheme("new"));
// Bonk Qt over its stupid head and make sure it understands which button is the default one...
// See: https://stackoverflow.com/questions/24556831/qbuttonbox-set-default-button