diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp index 2d6411b49..4caf7f2a6 100644 --- a/kcm/kcm.cpp +++ b/kcm/kcm.cpp @@ -78,7 +78,7 @@ KdeConnectKcm::KdeConnectKcm(QWidget* parent, const QVariantList& args) //Workaround: If we set this directly (or if we set it in the .ui file), the layout breaks kcmUi->noDeviceLinks->setWordWrap(false); - QTimer::singleShot(0, [this] { kcmUi->noDeviceLinks->setWordWrap(true); }); + QTimer::singleShot(0, this, [this] { kcmUi->noDeviceLinks->setWordWrap(true); }); setWhenAvailable(daemon->announcedName(), [this](const QString& announcedName) { kcmUi->rename_label->setText(announcedName);