summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-07-25 18:17:33 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-08-09 12:08:21 +0300
commit2a8cc4b3e15037554fb357f882a67472adb4161e (patch)
tree62e255c5bc53688a6b00896c19be049623eef76b
parent551f8baf5a67cf763c842926e735f9b2412baff6 (diff)
downloadqtlocation-mapboxgl-2a8cc4b3e15037554fb357f882a67472adb4161e.tar.gz
[default] use the current scheduler in the online file source
-rw-r--r--platform/default/online_file_source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/online_file_source.cpp b/platform/default/online_file_source.cpp
index 08011f5ac1..1c594f87a0 100644
--- a/platform/default/online_file_source.cpp
+++ b/platform/default/online_file_source.cpp
@@ -383,7 +383,7 @@ ActorRef<OnlineFileRequest> OnlineFileRequest::actor() {
if (!mailbox) {
// Lazy constructed because this can be costly and
// the ResourceTransform is not used by many apps.
- mailbox = std::make_shared<Mailbox>(*util::RunLoop::Get());
+ mailbox = std::make_shared<Mailbox>(*Scheduler::GetCurrent());
}
return ActorRef<OnlineFileRequest>(*this, mailbox);