X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreusersettings.cpp;h=6b68c192e112eb93af6325cc479c265f429f307c;hp=4b9563943e9ee0c5eaae424472a3f61c5933ea09;hb=145a52eb79fed146731f85c23b60f0609e40e785;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003 diff --git a/src/core/coreusersettings.cpp b/src/core/coreusersettings.cpp index 4b956394..6b68c192 100644 --- a/src/core/coreusersettings.cpp +++ b/src/core/coreusersettings.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -45,7 +45,7 @@ QList CoreUserSettings::identityIds() const void CoreUserSettings::storeIdentity(const Identity& identity) { - setLocalValue(QString("Identities/%1").arg(identity.id().toInt()), qVariantFromValue(identity)); + setLocalValue(QString("Identities/%1").arg(identity.id().toInt()), QVariant::fromValue(identity)); } void CoreUserSettings::removeIdentity(IdentityId id)