mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Replace InvokeQueued with on_main for has_weak_ptr.
This commit is contained in:
@@ -1254,7 +1254,7 @@ MtpChecker::MtpChecker(QPointer<MTP::Instance> instance, bool testing)
|
||||
void MtpChecker::start() {
|
||||
if (!_mtp.valid()) {
|
||||
LOG(("Update Info: MTP is unavailable."));
|
||||
InvokeQueued(this, [=] { fail(); });
|
||||
crl::on_main(this, [=] { fail(); });
|
||||
return;
|
||||
}
|
||||
constexpr auto kFeedUsername = "tdhbcfeed";
|
||||
|
Reference in New Issue
Block a user