Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d220f33c authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr

parent aaab3571
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment