Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 75343279 authored by Kurt Hindenburg's avatar Kurt Hindenburg

clang readability

parent c39f4e3e
......@@ -34,7 +34,7 @@ demo_konsolepart::demo_konsolepart()
{
// Create terminal part and embed in into the main window
_terminalPart = createPart();
if (!_terminalPart) {
if (_terminalPart == nullptr) {
return;
}
......@@ -53,7 +53,7 @@ demo_konsolepart::demo_konsolepart()
demo_konsolepart::~demo_konsolepart()
{
if (_terminalPart) {
if (_terminalPart != nullptr) {
disconnect(_terminalPart, &KParts::ReadOnlyPart::destroyed, this, &demo_konsolepart::quit);
}
}
......
Markdown is supported
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