mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Fix unused function warning.
This commit is contained in:
@@ -56,10 +56,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
namespace Settings {
|
namespace Settings {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
#if defined Q_OS_MAC && !defined OS_MAC_STORE
|
||||||
[[nodiscard]] const QImage &IconMacRound() {
|
[[nodiscard]] const QImage &IconMacRound() {
|
||||||
static const auto result = QImage(u":/gui/art/icon_round512@2x.png"_q);
|
static const auto result = QImage(u":/gui/art/icon_round512@2x.png"_q);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
#endif // Q_OS_MAC && !OS_MAC_STORE
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user