D28293: [kcmkwin] Make dialog non blocking
    Vlad Zahorodnii 
    noreply at phabricator.kde.org
       
    Thu Mar 26 08:18:46 GMT 2020
    
    
  
zzag added inline comments.
INLINE COMMENTS
> effectsmodel.cpp:669-671
> +    connect(dialog, &QDialog::accepted, module, [module]() {
>          module->save();
> +    });
The lambda is redundant. I think you could just connect KCModule::save() directly, e.g.
  connect(dialog, &QDialog::accepted, module, &KCModule::save);
REPOSITORY
  R108 KWin
BRANCH
  master
REVISION DETAIL
  https://phabricator.kde.org/D28293
To: davidedmundson, #kwin, apol
Cc: zzag, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200326/504bb35b/attachment.html>
    
    
More information about the kwin
mailing list