2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 14:08:41 +00:00

Get saving desktop file out of group loop

This commit is contained in:
Ilya Fedin
2022-12-18 13:36:58 +04:00
committed by John Preston
parent 2e60b28612
commit 4aa9c1fea3

View File

@@ -497,9 +497,9 @@ bool GenerateDesktopFile(
} }
} }
} }
}
target->save_to_file(targetFile.toStdString()); target->save_to_file(targetFile.toStdString());
}
} catch (const std::exception &e) { } catch (const std::exception &e) {
if (!silent) { if (!silent) {
LOG(("App Error: %1").arg(QString::fromStdString(e.what()))); LOG(("App Error: %1").arg(QString::fromStdString(e.what())));