X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fidentity.cpp;h=3e6f3fc3c47068d989b42c7365684c35f95b08d2;hp=4b78cfd191124494fe52fdb83b17d2a061410688;hb=579e559a6322209df7cd51c34801fecff5fe734b;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650 diff --git a/src/common/identity.cpp b/src/common/identity.cpp index 4b78cfd1..3e6f3fc3 100644 --- a/src/common/identity.cpp +++ b/src/common/identity.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -195,7 +195,7 @@ void Identity::setId(IdentityId _id) _identityId = _id; SYNC(ARG(_id)) emit idSet(_id); - renameObject(QString::number(id().toInt())); + setObjectName(QString::number(id().toInt())); } void Identity::setIdentityName(const QString& identityName)