mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-09 02:56:01 +08:00
refs #937 Resolved clazy warnings: miscellaneous.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user