Skip to content

Commit

Permalink
Qt icon bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Apr 1, 2023
1 parent d760958 commit 67a7d37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qt/intro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ bool Intro::pickDataDirectory()
}
Intro intro;
intro.setDataDirectory(dataDir);
intro.setWindowIcon(QIcon(":icons/bitcoin"));
// Qt bug fixed in 5.15
intro.setWindowIcon(QIcon(QPixmap(":icons/bitcoin").scaled(QSize(128, 128), Qt::KeepAspectRatio, Qt::SmoothTransformation )));

while (true) {
if (!intro.exec()) {
Expand Down

0 comments on commit 67a7d37

Please sign in to comment.