Commit cb361f58 authored by Laurent Montel's avatar Laurent Montel 😁

Allow to save subscription

parent 4ba1a3de
......@@ -117,6 +117,14 @@ void AdblockManager::loadSubscriptions()
*/
}
void AdblockManager::save()
{
foreach (AdBlockSubscription* subscription, mSubscriptions) {
subscription->saveSubscription();
}
}
void AdblockManager::removeDisabledRule(const QString &filter)
{
//TODO
......
......@@ -41,6 +41,8 @@ public:
void addDisabledRule(const QString &str);
void removeDisabledRule(const QString &filter);
void save();
Q_SIGNALS:
void enabledChanged(bool);
......
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