mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix build with Qt 6 on Windows.
This commit is contained in:
@@ -79,8 +79,7 @@ bool DarkTasbarValueValid/* = false*/;
|
||||
|
||||
static const auto Content = [&] {
|
||||
auto f = QFile(u":/gui/icons/tray/monochrome.svg"_q);
|
||||
f.open(QIODevice::ReadOnly);
|
||||
return f.readAll();
|
||||
return f.open(QIODevice::ReadOnly) ? f.readAll() : QByteArray();
|
||||
}();
|
||||
static auto Mask = QImage();
|
||||
static auto Size = 0;
|
||||
|
||||
+1
-1
Submodule cmake updated: c7e0493dea...13516177a1
Reference in New Issue
Block a user