[Differential] [Request, 18 lines] D1347: Checking whether the m_textTexture is not null before dereferencing it

ivan (Ivan Čukić) noreply at phabricator.kde.org
Thu Apr 7 18:04:19 UTC 2016


ivan created this revision.
ivan added a reviewer: graesslin.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  It can be null even after updateTextTexture() if there is not text
  to generate the texture from:
  
    if (m_effectFrame->text().isEmpty())
        return;

REPOSITORY
  rKWIN KWin

BRANCH
  ivan/null-check-2

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

AFFECTED FILES
  scene_opengl.cpp
  scene_xrender.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: ivan, graesslin
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160407/56429f72/attachment.html>


More information about the Plasma-devel mailing list