Add context object
This commit is contained in:
parent
3ec0008509
commit
fc4da13d64
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue