Commit 740310e3 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

clazy: Properly scope connect()

Shouldn't make a difference but better be proper.
parent 82e51845
......@@ -154,7 +154,7 @@ void ResourcesUpdatesModel::init()
m_offlineUpdates = group.readEntry<bool>("UseOfflineUpdates", false);
KConfigWatcher::Ptr watcher = KConfigWatcher::create(sharedConfig);
connect(, &KConfigWatcher::configChanged, [this](const KConfigGroup &group, const QByteArrayList &names) {
connect(, &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group, const QByteArrayList &names) {
// Ensure it is for the right file
if (!names.contains("UseOfflineUpdates") || != "Software") {
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