D15794: Validate possible nullptr while obtaining ClipboardMimeData

Kurt Hindenburg noreply at phabricator.kde.org
Sun Sep 30 18:20:50 BST 2018


hindenburg added inline comments.

INLINE COMMENTS

> TerminalDisplay.cpp:3915
> +    const QMimeData *clipboardMimeData = QApplication::clipboard()->mimeData(QClipboard::Selection);
> +    if (!clipboardMimeData) {
> +        return;

I try to not use implicit bool conversion so this should really be == nullptr

REPOSITORY
  R319 Konsole

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

To: ansraliant, #konsole, hindenburg
Cc: anthonyfieroni, ngraham, konsole-devel, herrold, maximilianocuria, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20180930/9c7f0f63/attachment-0001.html>


More information about the konsole-devel mailing list