Skip to content
Commit f06dff33 authored by Ivan Čukić's avatar Ivan Čukić 👁
Browse files

Checking whether the m_textTexture is not null before dereferencing it

Summary:
It can be null even after updateTextTexture() if there is not text
to generate the texture from:

        if (m_effectFrame->text().isEmpty())
            return;

Reviewers: graesslin

Reviewed By: graesslin

Subscribers: plasma-devel

Projects: #plasma

Differential Revision: https://phabricator.kde.org/D1347
parent 2c95a4e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment