D13867: [KMessageWidget] Pass widget to standardIcon()
Christoph Feck
noreply at phabricator.kde.org
Tue Jul 3 12:49:44 BST 2018
cfeck added inline comments.
INLINE COMMENTS
> kmessagewidget.cpp:94
> closeAction->setToolTip(KMessageWidget::tr("Close message"));
> - closeAction->setIcon(q->style()->standardIcon(QStyle::SP_DialogCloseButton));
> + closeAction->setIcon(q->style()->standardIcon(QStyle::SP_DialogCloseButton, nullptr, q));
>
Could also pass a QStyleOption, initialized from the widget.
REPOSITORY
R236 KWidgetsAddons
REVISION DETAIL
https://phabricator.kde.org/D13867
To: broulik, #frameworks, cfeck, ngraham
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180703/fb653bab/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list