From 1b87d19a64d45072e72980505a936df38dda4d72 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 1 Feb 2018 10:59:24 +0100 Subject: Debugger: Modernize Mostly nullptr instead of 0, but also a few bits of collateral damage. Change-Id: I921991272aca921dcdecf302dfff3716e79dfc24 Reviewed-by: David Schulz --- src/plugins/debugger/logwindow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/debugger/logwindow.h') diff --git a/src/plugins/debugger/logwindow.h b/src/plugins/debugger/logwindow.h index adced53832..f5024d2014 100644 --- a/src/plugins/debugger/logwindow.h +++ b/src/plugins/debugger/logwindow.h @@ -48,7 +48,7 @@ class LogWindow : public QWidget Q_OBJECT public: - explicit LogWindow(QWidget *parent = 0); + explicit LogWindow(QWidget *parent = nullptr); void setCursor(const QCursor &cursor); @@ -59,7 +59,7 @@ public: static QString logTimeStamp(); - static bool writeLogContents(const QPlainTextEdit *editor, QWidget *parent = 0); + static bool writeLogContents(const QPlainTextEdit *editor, QWidget *parent = nullptr); static QChar charForChannel(int channel); static LogChannel channelForChar(QChar c); -- cgit v1.2.1