~neon/kolourpaint/master

« back to all changes in this revision

Viewing changes to tools/flow/kpToolColorEraser.cpp

  • Committer: Kevin Funk
  • Date: 2017-11-19 23:16:39 UTC
  • Revision ID: git-v1:b08455db1ca77205455f4c0bc3bf80b8347b5fcb
Modernize: Use nullptr where possible

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        commandHistory ()->addCommand (cmd, false /* don't exec */);
96
96
 
97
97
        // don't delete - it's up to the commandHistory
98
 
        cmd = 0;
 
98
        cmd = nullptr;
99
99
    }
100
100
    else
101
101
    {
103
103
        qCDebug(kpLogTools) << "\tisNOP";
104
104
    #endif
105
105
        delete cmd;
106
 
        cmd = 0;
 
106
        cmd = nullptr;
107
107
    }
108
108
 
109
109
    QApplication::restoreOverrideCursor ();