mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 17:15:16 +00:00
Hook main queue processing to update requests.
This commit is contained in:
@@ -503,14 +503,6 @@ bool Sandbox::notify(QObject *receiver, QEvent *e) {
|
||||
const auto type = e->type();
|
||||
if (type == QEvent::UpdateRequest) {
|
||||
_widgetUpdateRequests.fire({});
|
||||
// Profiling.
|
||||
//const auto time = crl::now();
|
||||
//LOG(("[%1] UPDATE STARTED").arg(time));
|
||||
//const auto guard = gsl::finally([&] {
|
||||
// const auto now = crl::now();
|
||||
// LOG(("[%1] UPDATE FINISHED (%2)").arg(now).arg(now - time));
|
||||
//});
|
||||
//return QApplication::notify(receiver, e);
|
||||
}
|
||||
return QApplication::notify(receiver, e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user