Skip to content
Commit 0e96bc34 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

plugins/screenshot: Cache screenshot attributes

When a QPromise reports results, it's not necessary that the
QFutureWatcher is going to report it immediately. That can happen at
some point in the future, which is okay according to the QFuture api
contract.

Due to that, we cannot assume that the stored Output and EffectWindow
objects pointers are valid when the QFutureWatcher::finished is emitted.


(cherry picked from commit 69f344a4)
parent 23af6cb5
Pipeline #599710 passed with stage
in 12 minutes and 7 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment