Testing a new concept for the SyncableObjects.
[quassel.git] / src / common / ircuser.cpp
index 173f99f..fa20698 100644 (file)
@@ -171,6 +171,7 @@ void IrcUser::setLastAwayMessage(const int &lastAwayMessage) {
 }
 
 void IrcUser::setHost(const QString &host) {
 }
 
 void IrcUser::setHost(const QString &host) {
+  so_sync(so_arg_cast(host));
   if(!host.isEmpty() && _host != host) {
     _host = host;
     emit hostSet(host);
   if(!host.isEmpty() && _host != host) {
     _host = host;
     emit hostSet(host);