Commit 0445c78d authored by Laurent Montel's avatar Laurent Montel 😁

use identitymanager singleton

parent 0fd046fa
......@@ -120,8 +120,7 @@ void SummaryViewPart::updateWidgets()
delete mFrame;
KIdentityManagement::IdentityManager idm(true, this);
const KIdentityManagement::Identity &id = idm.defaultIdentity();
const KIdentityManagement::Identity &id = KIdentityManagement::IdentityManager::self()->defaultIdentity();
QString currentUser = i18n("Summary for %1", id.fullName());
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