D27784: KCM KWinTabBox manage KCModule states

Kevin Ottens noreply at phabricator.kde.org
Fri Mar 27 16:32:50 GMT 2020


ervin added inline comments.

INLINE COMMENTS

> main.cpp:419
>  {
> -    CHECK_CURRENT_TABBOX_UI
> +    auto form = qobject_cast<KWinTabBoxConfigForm *>(sender());
>  

Too bad you lost the Q_ASSERT(form) in the process. It's all the more important now that we're using the evil sender(). :-)

Could we please have the assert back?

REPOSITORY
  R108 KWin

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

To: crossi, #kwin, ervin, bport, meven, zzag
Cc: 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/20200327/f422d36d/attachment.html>


More information about the kwin mailing list