diff options
| author | kat <kat@vector35.com> | 2024-10-28 11:58:15 -0400 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-10-28 12:58:51 -0400 |
| commit | 07bce5f257d30061475452ec9c2e06a132747b54 (patch) | |
| tree | 434dbd4660b981edd81c3f1651e868aacb240b26 /view/sharedcache/ui/dscwidget.cpp | |
| parent | 891b8c0d4366266c0b9af08037dbd71c54cf86b3 (diff) | |
[SharedCache] Fix UI causing BV leaks
Diffstat (limited to 'view/sharedcache/ui/dscwidget.cpp')
| -rw-r--r-- | view/sharedcache/ui/dscwidget.cpp | 2 |
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(); } |
