Commit c72272da authored by David Faure's avatar David Faure
Browse files

Fix QTimer being leaked in MonitorPrivate

Test Plan: favoriteproxytest and changerecordertest now run without leaks

Reviewers: dvratil, vkrause

Reviewed By: vkrause

Subscribers: kde-pim

Differential Revision: https://phabricator.kde.org/D21142
parent c1ead4ae
......@@ -167,7 +167,7 @@ void MonitorPrivate::scheduleSubscriptionUpdate()
return;
}
pendingModificationTimer = new QTimer();
pendingModificationTimer = new QTimer(q_ptr);
pendingModificationTimer->setSingleShot(true);
pendingModificationTimer->setInterval(0);
pendingModificationTimer->start();
......
Supports Markdown
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