Skip to content
Snippets Groups Projects
Commit 54cac66c authored by hjk's avatar hjk
Browse files

ProgressManager: Handle QFutureInterface by value in addTimedTask


QFutureInterface acts by a shared pointer itself, so use that to
guards against the QFutureInterface object being destroyed while
the timer is running.

This feels awkward as QFutureInterfaceBase::future() is non-const
for unknown reason.

Change-Id: I1d43abe0c27183af2f01cf269e2a94d2fcaba46e
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 212836d5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment