diff --git a/src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.cpp b/src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.cpp
index f5479bbf328196979f47011de871ad0a11734a85..934566723ea084bb16585f7451f0faaf4ee5c658 100644
--- a/src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.cpp
+++ b/src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.cpp
@@ -58,10 +58,10 @@ void SubscriptionsPanel::setupUi()
 {
     QVBoxLayout* layout = new QVBoxLayout;
 
-    filtersList = new QListWidget;
+    filtersList = std::make_unique<QListWidget>();
     filtersList->setSelectionBehavior(QAbstractItemView::SelectItems);
     filtersList->setSelectionMode(QAbstractItemView::SingleSelection);
-    layout->addWidget(filtersList);
+    layout->addWidget(filtersList.get());
 
     QHBoxLayout* buttonsLayout = new QHBoxLayout;
 
diff --git a/src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.h b/src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.h
index 16851377dcf1a31e412939c7c3fc0b0a3c05fd59..745b9a152e6dff0d6b0dbd2b0a7298b823e6a439 100644
--- a/src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.h
+++ b/src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.h
@@ -42,5 +42,5 @@ private:
     void setupUi();
     void removeSubscription(QListWidgetItem* item);
 
-    QListWidget* filtersList;
+    std::unique_ptr<QListWidget> filtersList;
 };