summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-08-01 22:29:46 +0200
committerMontel Laurent <[email protected]>2017-08-01 22:29:46 +0200
commitd220f33ccc51c4bf8f88a88dfec2706234222619 (patch)
tree0c4e06bbda11c221428dacc3056d4efe16150c93
parentaaab35714f7b775c821d3002f2b3fdc56bdbcd8a (diff)
Use nullptr
-rw-r--r--src/manager/allyourbase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager/allyourbase.cpp b/src/manager/allyourbase.cpp
index 9ed2196..1b50761 100644
--- a/src/manager/allyourbase.cpp
+++ b/src/manager/allyourbase.cpp
@@ -101,7 +101,7 @@ KWalletContainerItem *KWalletFolderItem::getContainer(KWallet::Wallet::EntryType
bool KWalletFolderItem::contains(const QString &key)
{
- return (getItem(key) != 0);
+ return (getItem(key) != nullptr);
}
QTreeWidgetItem *KWalletFolderItem::getItem(const QString &key)
@@ -361,7 +361,7 @@ void KWalletItem::processDropEvent(QDropEvent *e)
*/
KWalletEntryList::KWalletEntryList(QWidget *parent, const QString &name)
: QTreeWidget(parent),
- _wallet(0)
+ _wallet(nullptr)
{
setObjectName(name);
setColumnCount(1);