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 f9369ec6 authored by Laurent Montel's avatar Laurent Montel 😁

Fix crash

parent 11ab220b
......@@ -318,6 +318,9 @@ void IdentityManager::readConfig( KConfig *config )
}
if ( !haveDefault ) {
if (mIdentities.isEmpty()) {
mIdentities << Identity();
}
kWarning( 5325 ) << "IdentityManager: There was no default identity."
<< "Marking first one as default.";
mIdentities.first().setIsDefault( true );
......
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