kossebau added inline comments.

INLINE COMMENTS

> kossebau wrote in kfontsizeaction.cpp:93
> Will test is this works, but IIRC actions() returned a normal left-side value 
> thingie, which qAsConst does not want to take.

Yes, `qAsConst(actions())` does not work, as actions() is a r-value type, which 
qAsConst does not take (move overload of qAsConst explicitly deleted), 
following std::as_const here, to not run into dangling pointers.

REPOSITORY
  R236 KWidgetsAddons

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

To: kossebau, #frameworks, cfeck
Cc: dhaumann, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

Reply via email to