aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/channelsjoin/ChannelsJoinDialog.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Sokolov2016-04-30 18:23:42 +0100
committerGravatar Alexey Sokolov2016-04-30 18:50:44 +0100
commit505d0768f8392e3c4775425dd97f41e1c829ef44 (patch)
tree55dfa35f2e180b4186baf00ffbfd2ee38c0f1c18 /src/modules/channelsjoin/ChannelsJoinDialog.cpp
parentUpdate my clang-format to 3.8.0 (diff)
downloadKVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.gz
KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.bz2
KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.zip
Apply clang-tidy: modernize-use-nullptr
Diffstat (limited to 'src/modules/channelsjoin/ChannelsJoinDialog.cpp')
-rw-r--r--src/modules/channelsjoin/ChannelsJoinDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/channelsjoin/ChannelsJoinDialog.cpp b/src/modules/channelsjoin/ChannelsJoinDialog.cpp
index 343c55c88..6e89eb6c0 100644
--- a/src/modules/channelsjoin/ChannelsJoinDialog.cpp
+++ b/src/modules/channelsjoin/ChannelsJoinDialog.cpp
@@ -61,7 +61,7 @@ ChannelsJoinDialog::ChannelsJoinDialog(const char * name)
setWindowTitle(__tr2qs("Join Channels - KVIrc"));
setWindowIcon(*(g_pIconManager->getSmallIcon(KviIconManager::Channel)));
- m_pConsole = 0;
+ m_pConsole = nullptr;
QGridLayout * g = new QGridLayout(this);
@@ -152,7 +152,7 @@ ChannelsJoinDialog::~ChannelsJoinDialog()
KVI_OPTION_BOOL(KviOption_boolShowChannelsJoinOnIrc) = m_pShowAtStartupCheck->isChecked();
g_rectChannelsJoinGeometry = QRect(pos().x(), pos().y(), size().width(), size().height());
- g_pChannelsWindow = 0;
+ g_pChannelsWindow = nullptr;
}
void ChannelsJoinDialog::setConsole(KviConsoleWindow * pConsole)