D17901: "Zero as null pointer constant" warnings fixed

Christoph Feck noreply at phabricator.kde.org
Wed Jan 2 00:03:19 GMT 2019


cfeck accepted this revision.
cfeck added a reviewer: teran.
cfeck added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> kcalc.cpp:682
> +	int margin = QApplication::style()->pixelMetric(QStyle::PM_ButtonMargin, nullptr, nullptr);
>  	margin = qMax(qMin(margin / 2, 3), 3);
>  

Note to self: Check why margin is limited to 3.

REPOSITORY
  R353 KCalc

BRANCH
  compiler-warnings (branched from master)

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

To: gassaf, cfeck, teran
Cc: cfeck, kde-utils-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20190102/d1c23e9a/attachment.html>


More information about the Kde-utils-devel mailing list