projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finalizing changes to the identities interface -> breaking protocol
[quassel.git]
/
src
/
common
/
identity.cpp
diff --git
a/src/common/identity.cpp
b/src/common/identity.cpp
index
eff5021
..
da10fb0
100644
(file)
--- a/
src/common/identity.cpp
+++ b/
src/common/identity.cpp
@@
-86,10
+86,10
@@
void Identity::setToDefaults() {
/*** setters ***/
/*** setters ***/
-// NOTE: DO NOT USE ON SYNCHRONIZED OBJECTS!
void Identity::setId(IdentityId _id) {
_identityId = _id;
void Identity::setId(IdentityId _id) {
_identityId = _id;
- setObjectName(QString::number(id().toInt()));
+ emit idSet(_id);
+ renameObject(QString::number(id().toInt()));
}
void Identity::setIdentityName(const QString &identityName) {
}
void Identity::setIdentityName(const QString &identityName) {
@@
-228,3
+228,4
@@
QDataStream &operator>>(QDataStream &in, Identity &id) {
id.fromVariantMap(i);
return in;
}
id.fromVariantMap(i);
return in;
}
+