standardization of hints used to find external libraries
Showing the changes to interface/src/Menu.cpp (1 of 16 files). Show all
Unified · Split
| @@ -242,8 +242,8 @@ Menu::Menu() : · 241 unmodified lines | ||
| 242 | 242 | |
| 243 | 243 | const QXmppClient& xmppClient = XmppClient::getInstance().getXMPPClient(); |
| 244 | 244 | toggleChat(); |
| 245 | − connect(&xmppClient, SIGNAL(connected()), this, SLOT(toggleChat())); | |
| 246 | − connect(&xmppClient, SIGNAL(disconnected()), this, SLOT(toggleChat())); | |
| 245 | + connect(&xmppClient, &QXmppClient::connected, this, &Menu::toggleChat); | |
| 246 | + connect(&xmppClient, &QXmppClient::disconnected, this, &Menu::toggleChat); | |
| 247 | 247 | |
| 248 | 248 | QDir::setCurrent(Application::resourcesPath()); |
| 249 | 249 | // init chat window to listen chat |