mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix build with Xcode.
This commit is contained in:
parent
37b2951058
commit
883509903f
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ QIcon CreateIcon(Main::Session *session, bool returnNullIfDefault) {
|
|||
return officialIcon;
|
||||
}
|
||||
|
||||
auto result = QIcon(Ui::PixmapFromImage(Logo()));
|
||||
auto result = QIcon(Ui::PixmapFromImage(base::duplicate(Logo())));
|
||||
|
||||
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||
const auto iconFromTheme = QIcon::fromTheme(
|
||||
|
|
Loading…
Add table
Reference in a new issue