mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
change to new style of signal slot connection for XmppClient
This commit is contained in:
parent
d1b050dea8
commit
6fdd64c9fc
1 changed files with 2 additions and 2 deletions
|
@ -242,8 +242,8 @@ Menu::Menu() :
|
|||
|
||||
const QXmppClient& xmppClient = XmppClient::getInstance().getXMPPClient();
|
||||
toggleChat();
|
||||
connect(&xmppClient, SIGNAL(connected()), this, SLOT(toggleChat()));
|
||||
connect(&xmppClient, SIGNAL(disconnected()), this, SLOT(toggleChat()));
|
||||
connect(&xmppClient, &QXmppClient::connected, this, &Menu::toggleChat);
|
||||
connect(&xmppClient, &QXmppClient::disconnected, this, &Menu::toggleChat);
|
||||
|
||||
QDir::setCurrent(Application::resourcesPath());
|
||||
// init chat window to listen chat
|
||||
|
|
Loading…
Reference in a new issue