2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Check changes when saving theme.

This commit is contained in:
John Preston
2019-09-08 19:29:43 +03:00
parent cedb2d31af
commit c92a9585e1
6 changed files with 194 additions and 134 deletions

View File

@@ -906,12 +906,12 @@ void Generator::restoreTextPalette() {
_p->restoreTextPalette();
}
[[nodiscard]] QString CachedThemePath(uint64 documentId) {
} // namespace
QString CachedThemePath(uint64 documentId) {
return QString::fromLatin1("special://cached-%1").arg(documentId);
}
} // namespace
std::unique_ptr<Preview> PreviewFromFile(
const QByteArray &bytes,
const QString &filepath,