mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Open theme editor for existing themes.
This commit is contained in:
@@ -1065,8 +1065,10 @@ void Unload() {
|
||||
GlobalApplying = Applying();
|
||||
}
|
||||
|
||||
bool Apply(const QString &filepath) {
|
||||
if (auto preview = PreviewFromFile(filepath, {}, {})) {
|
||||
bool Apply(
|
||||
const QString &filepath,
|
||||
const Data::CloudTheme &cloud) {
|
||||
if (auto preview = PreviewFromFile(filepath, {}, cloud)) {
|
||||
return Apply(std::move(preview));
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user