mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Updated TDesktop sources to 2.5.1+feff514
This commit is contained in:
@@ -109,8 +109,8 @@ auto GenerateCodes() {
|
||||
if (const auto strong = weak.get()) {
|
||||
loadFor(strong);
|
||||
} else {
|
||||
for (const auto &[index, account] : Core::App().domain().accounts()) {
|
||||
loadFor(account.get());
|
||||
for (const auto &pair : Core::App().domain().accounts()) {
|
||||
loadFor(pair.account.get());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -159,7 +159,7 @@ auto GenerateCodes() {
|
||||
#endif // Q_OS_WIN || Q_OS_MAC
|
||||
|
||||
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||
codes.emplace(qsl("installauncher"), [](SessionController *window) {
|
||||
codes.emplace(qsl("installlauncher"), [](SessionController *window) {
|
||||
Platform::InstallLauncher(true);
|
||||
Ui::Toast::Show("Forced launcher installation.");
|
||||
});
|
||||
|
Reference in New Issue
Block a user