diff options
author | Montel Laurent <laurent.montel@kdab.com> | 2017-02-24 15:33:09 +0100 |
---|---|---|
committer | Laurent Montel <laurent.montel@kdab.com> | 2017-02-27 14:35:06 +0000 |
commit | 1da4966b26d1862d4efb56e2ebae5f4eb0039117 (patch) | |
tree | 21f204b73fd46a278dde44bc33f642e1534958d2 /src/plugins/cpaster/protocol.cpp | |
parent | 1704c484a83e845fc44ffe82d1af0bcdca028964 (diff) | |
download | qt-creator-1da4966b26d1862d4efb56e2ebae5f4eb0039117.tar.gz |
CPaster: Replace 0 by nullptr
Change-Id: Ic916a6b464951ea319345333c0c7188852f58d8c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cpaster/protocol.cpp')
-rw-r--r-- | src/plugins/cpaster/protocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpaster/protocol.cpp b/src/plugins/cpaster/protocol.cpp index 6280545118..f79bed2a46 100644 --- a/src/plugins/cpaster/protocol.cpp +++ b/src/plugins/cpaster/protocol.cpp @@ -161,7 +161,7 @@ bool Protocol::showConfigurationError(const Protocol *p, parent = Core::ICore::mainWindow(); const QString title = tr("%1 - Configuration Error").arg(p->name()); QMessageBox mb(QMessageBox::Warning, title, message, QMessageBox::Cancel, parent); - QPushButton *settingsButton = 0; + QPushButton *settingsButton = nullptr; if (showConfig) settingsButton = mb.addButton(Core::ICore::msgShowOptionsDialog(), QMessageBox::AcceptRole); mb.exec(); |