UI: use QScopedPointer

This commit is contained in:
tobtoht
2021-06-27 14:13:05 +02:00
parent 1afa06af91
commit bc21aed5af
92 changed files with 95 additions and 198 deletions
+1 -3
View File
@@ -74,6 +74,4 @@ QString RedditWidget::getLink(const QString &permaLink) {
return QString("https://%1%2").arg(redditFrontend, permaLink);
}
RedditWidget::~RedditWidget() {
delete ui;
}
RedditWidget::~RedditWidget() = default;