summaryrefslogtreecommitdiff
path: root/view/sharedcache/ui/dscpicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/ui/dscpicker.cpp')
-rw-r--r--view/sharedcache/ui/dscpicker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/sharedcache/ui/dscpicker.cpp b/view/sharedcache/ui/dscpicker.cpp
index 33877675..a82da4fc 100644
--- a/view/sharedcache/ui/dscpicker.cpp
+++ b/view/sharedcache/ui/dscpicker.cpp
@@ -15,7 +15,7 @@ void DisplayDSCPicker(UIContext* ctx, Ref<BinaryView> dscView)
BackgroundThread::create(ctx ? ctx->mainWindow() : nullptr)->thenBackground(
[dscView=dscView](QVariant var) {
QStringList entries;
- SharedCacheAPI::SCRef<SharedCacheAPI::SharedCache> cache = new SharedCacheAPI::SharedCache(dscView);
+ Ref<SharedCacheAPI::SharedCache> cache = new SharedCacheAPI::SharedCache(dscView);
for (const auto& img : cache->GetAvailableImages())
entries.push_back(QString::fromStdString(img));
@@ -36,7 +36,7 @@ void DisplayDSCPicker(UIContext* ctx, Ref<BinaryView> dscView)
})->thenBackground([dscView=dscView](QVariant var){
if (var.toString().isEmpty())
return;
- SharedCacheAPI::SCRef<SharedCacheAPI::SharedCache> cache = new SharedCacheAPI::SharedCache(dscView);
+ Ref<SharedCacheAPI::SharedCache> cache = new SharedCacheAPI::SharedCache(dscView);
cache->LoadImageWithInstallName(var.toString().toStdString());
})->start();
}