Commit 15b4c727 authored by Laurent Montel's avatar Laurent Montel 😁

Delete folder even if folder id < 0

parent 072566d1
Pipeline #35898 passed with stage
in 13 minutes and 10 seconds
......@@ -15,6 +15,7 @@
#include <KLocalizedString>
#include <QTimer>
#include <QDebug>
using namespace Akregator;
......@@ -129,7 +130,7 @@ void DeleteSubscriptionJob::start()
void DeleteSubscriptionJob::doDelete()
{
const QSharedPointer<FeedList> feedList = m_feedList.lock();
if (m_id > 0 && feedList) {
if (feedList) {
delete feedList->findByID(m_id);
}
emitResult();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment