broulik added inline comments.

INLINE COMMENTS

> daemon.cpp:94
>      KGlobalAccel::self()->setGlobalShortcut(action, switchDisplayShortcuts);
> -    connect(action, &QAction::triggered, [&](bool) { displayButton(); });
> +    connect(action, &QAction::triggered, this, [&](bool) { displayButton(); 
> });
>  

You could also connect it to the method directly

  connect(action, &QAction::triggered, this, &KScreenDaemon::displayButton);

REPOSITORY
  R104 KScreen

REVISION DETAIL
  https://phabricator.kde.org/D14074

To: gladhorn, #plasma, apol
Cc: broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart

Reply via email to