summaryrefslogtreecommitdiff
path: root/view/sharedcache/ui/dscwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/ui/dscwidget.cpp')
-rw-r--r--view/sharedcache/ui/dscwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/ui/dscwidget.cpp b/view/sharedcache/ui/dscwidget.cpp
index 2483a26e..adece165 100644
--- a/view/sharedcache/ui/dscwidget.cpp
+++ b/view/sharedcache/ui/dscwidget.cpp
@@ -346,7 +346,7 @@ void DSCSidebarView::navigateToIndex(const QModelIndex& index)
if (reply == QMessageBox::Yes)
{
- SharedCacheAPI::SharedCache* cache = new SharedCacheAPI::SharedCache(m_data);
+ Ref<SharedCacheAPI::SharedCache> cache = new SharedCacheAPI::SharedCache(m_data);
cache->LoadImageWithInstallName(modelItem->m_installName);
m_data->UpdateAnalysis();
}