mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Rename weak(QObject*) to make_weak(QObject*).
This commit is contained in:
@@ -286,9 +286,9 @@ void PhotoCropBox::sendPhoto() {
|
||||
tosend = cropped.copy();
|
||||
}
|
||||
|
||||
auto guard = weak(this);
|
||||
auto weak = make_weak(this);
|
||||
_readyImages.fire(std::move(tosend));
|
||||
if (guard) {
|
||||
if (weak) {
|
||||
closeBox();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user