mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 08:35:21 +00:00
imageLoaded() notifications done through base::Subscriber.
Also FileDialog query completion notifications use base::Subscriber. Strict lambda alignment check. Disable large lambdas in lambda_wrap.
This commit is contained in:
@@ -89,7 +89,7 @@ OverviewInner::OverviewInner(OverviewWidget *overview, ScrollArea *scroll, PeerD
|
||||
, _touchAccelerationTime(0)
|
||||
, _touchTime(0)
|
||||
, _menu(0) {
|
||||
connect(App::wnd(), SIGNAL(imageLoaded()), this, SLOT(update()));
|
||||
subscribe(FileDownload::ImageLoaded(), [this] { update(); });
|
||||
|
||||
resize(_width, st::wndMinHeight);
|
||||
|
||||
|
Reference in New Issue
Block a user