mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix new taskbar "Quit Telegram" icon generation.
This commit is contained in:
@@ -410,6 +410,8 @@ void WriteIco(const QString &path, std::vector<QImage> images) {
|
||||
buffer.append(pngs[i]);
|
||||
}
|
||||
|
||||
const auto dir = QFileInfo(path).dir();
|
||||
dir.mkpath(dir.absolutePath());
|
||||
auto f = QFile(path);
|
||||
if (f.open(QIODevice::WriteOnly)) {
|
||||
f.write(buffer);
|
||||
|
||||
Reference in New Issue
Block a user