generic: replace Q_NULLPTR with nullptr

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-08-06 15:31:19 +03:00
parent c58377bad7
commit 245a8b299b
2 changed files with 5 additions and 5 deletions

View file

@ -246,9 +246,9 @@ bool AudioPlayerControlRunner::startPlayer()
return true;
}
if (!KRun::run(m_player, KUrl::List(), Q_NULLPTR)) {
if (!KRun::run(m_player, KUrl::List(), nullptr)) {
// We couldn't start the player
KMessageBox::error(Q_NULLPTR, i18n("%1 not found", m_player),
KMessageBox::error(nullptr, i18n("%1 not found", m_player),
i18n("%1 was not found so the runner is unable to work.", m_player));
return false;
}

View file

@ -92,7 +92,7 @@ KU_PrefsBase *KU_Global::kcfg()
return mCfg;
}
KU_Users *KU_Global::mUsers = Q_NULLPTR;
KU_Groups *KU_Global::mGroups = Q_NULLPTR;
KU_Users *KU_Global::mUsers = nullptr;
KU_Groups *KU_Global::mGroups = nullptr;
KU_PrefsBase *KU_Global::mCfg = Q_NULLPTR;
KU_PrefsBase *KU_Global::mCfg = nullptr;