refs #937 Resolved clazy warnings: miscellaneous.

This commit is contained in:
Mathew Sutcliffe
2017-04-17 00:16:12 +01:00
parent 2134b4e874
commit e3fe8ec39f
24 changed files with 89 additions and 65 deletions

View File

@@ -27,9 +27,9 @@ int main(int argc, char *argv[])
Client client(&app);
LineReader reader;
QObject::connect(&reader, SIGNAL(command(const QString&)), &client, SLOT(command(const QString&)));
QObject::connect(&client, SIGNAL(quit()), &reader, SLOT(terminate()));
QObject::connect(&client, SIGNAL(quit()), &app, SLOT(quit()));
QObject::connect(&reader, &LineReader::command, &client, &Client::command);
QObject::connect(&client, &Client::quit, &reader, &LineReader::terminate);
QObject::connect(&client, &Client::quit, &app, &QCoreApplication::quit);
reader.start();
app.exec();