X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtgui%2Fidentities.cpp;h=f1cc27cd08deb3a812ba21d6b7cc822dbd313483;hb=51dc042dd59b491e45951cb9d8371a1f62857945;hp=b085014544becc7e5ebc2a5eed14a5ed5482ee9a;hpb=44b22c4419f478a20f6324f9f3a700a2dec56302;p=quassel.git diff --git a/src/qtgui/identities.cpp b/src/qtgui/identities.cpp index b0850145..f1cc27cd 100644 --- a/src/qtgui/identities.cpp +++ b/src/qtgui/identities.cpp @@ -23,7 +23,7 @@ IdentitiesDlg::IdentitiesDlg(QWidget *parent, QString selected) : QDialog(parent) { ui.setupUi(this); - connect(Global::instance(), SIGNAL(dataUpdatedRemotely(UserId, QString)), this, SLOT(globalDataUpdated(UserId, QString))); + connect(Client::instance(), SIGNAL(sessionDataChanged(const QString &)), this, SLOT(globalDataUpdated(QString))); connect(ui.enableAutoAway, SIGNAL(stateChanged(int)), this, SLOT(autoAwayChecked())); @@ -56,7 +56,7 @@ IdentitiesDlg::IdentitiesDlg(QWidget *parent, QString selected) : QDialog(parent } /* this needs more work! mapping? */ -void IdentitiesDlg::globalDataUpdated(UserId, QString key) { +void IdentitiesDlg::globalDataUpdated(QString key) { if(key == "Identities") { if(QMessageBox::warning(this, tr("Data changed remotely!"), tr("Some other GUI client changed the identities data!
" "Apply updated settings, losing all changes done locally?"),