Fix unused function warning.

This commit is contained in:
John Preston 2023-03-01 11:23:31 +04:00
parent 79e2157442
commit b65a00824c

View file

@ -56,10 +56,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace Settings {
namespace {
#if defined Q_OS_MAC && !defined OS_MAC_STORE
[[nodiscard]] const QImage &IconMacRound() {
static const auto result = QImage(u":/gui/art/icon_round512@2x.png"_q);
return result;
}
#endif // Q_OS_MAC && !OS_MAC_STORE
} // namespace