X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fidentity.cpp;h=80bffc149108d63fac46ea20bb0895155c8d1401;hb=24c7de34254b5de4cf28045a6923a527e06f7290;hp=4b78cfd191124494fe52fdb83b17d2a061410688;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/common/identity.cpp b/src/common/identity.cpp index 4b78cfd1..80bffc14 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-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -179,7 +179,7 @@ void Identity::setToDefaults() setAutoAwayTime(10); setAutoAwayReason(tr("Not here. No, really. not here!")); setAutoAwayReasonEnabled(false); - setDetachAwayEnabled(false); + setDetachAwayEnabled(true); setDetachAwayReason(tr("All Quassel clients vanished from the face of the earth...")); setDetachAwayReasonEnabled(false); setIdent("quassel"); @@ -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)