mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 03:16:58 +03:00
Replace getThemedIcon with APPLICATION->logo()
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
1724bdaeb9
commit
cd4f119e4b
67 changed files with 93 additions and 133 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue