projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use nullptr
[quassel.git]
/
src
/
core
/
corenetwork.cpp
diff --git
a/src/core/corenetwork.cpp
b/src/core/corenetwork.cpp
index
4b32f2c
..
143760f
100644
(file)
--- a/
src/core/corenetwork.cpp
+++ b/
src/core/corenetwork.cpp
@@
-438,10
+438,10
@@
void CoreNetwork::removeChannelKey(const QString &channel)
Cipher *CoreNetwork::cipher(const QString &target)
{
if (target.isEmpty())
Cipher *CoreNetwork::cipher(const QString &target)
{
if (target.isEmpty())
- return
0
;
+ return
nullptr
;
if (!Cipher::neededFeaturesAvailable())
if (!Cipher::neededFeaturesAvailable())
- return
0
;
+ return
nullptr
;
CoreIrcChannel *channel = qobject_cast<CoreIrcChannel *>(ircChannel(target));
if (channel) {
CoreIrcChannel *channel = qobject_cast<CoreIrcChannel *>(ircChannel(target));
if (channel) {
@@
-453,7
+453,7
@@
Cipher *CoreNetwork::cipher(const QString &target)
} else if (!isChannelName(target)) {
return qobject_cast<CoreIrcUser*>(newIrcUser(target))->cipher();
}
} else if (!isChannelName(target)) {
return qobject_cast<CoreIrcUser*>(newIrcUser(target))->cipher();
}
- return
0
;
+ return
nullptr
;
}
}