summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/logwindow.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-02-01 10:59:24 +0100
committerhjk <hjk@qt.io>2018-02-01 10:28:54 +0000
commit1b87d19a64d45072e72980505a936df38dda4d72 (patch)
tree8b149ec832de2d8ad67f270ca6adccdce37b5418 /src/plugins/debugger/logwindow.h
parent7c417204792fd3c023cf389693d3b3fba8712167 (diff)
downloadqt-creator-1b87d19a64d45072e72980505a936df38dda4d72.tar.gz
Debugger: Modernize
Mostly nullptr instead of 0, but also a few bits of collateral damage. Change-Id: I921991272aca921dcdecf302dfff3716e79dfc24 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/debugger/logwindow.h')
-rw-r--r--src/plugins/debugger/logwindow.h4
1 files changed, 2 insertions, 2 deletions
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);