mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Use auto to avoid duplicating the type name
This commit is contained in:
@ -44,7 +44,7 @@ void YACReaderLocalServer::sendResponse()
|
||||
//connect(clientConnection, SIGNAL(disconnected()),clientConnection, SLOT(deleteLater()));
|
||||
clientConnection->setParent(0);
|
||||
|
||||
YACReaderClientConnectionWorker *worker = new YACReaderClientConnectionWorker(clientConnection);
|
||||
auto worker = new YACReaderClientConnectionWorker(clientConnection);
|
||||
if (worker != 0) {
|
||||
clientConnection->moveToThread(worker);
|
||||
connect(worker, SIGNAL(comicUpdated(quint64, ComicDB)), this, SIGNAL(comicUpdated(quint64, ComicDB)));
|
||||
|
Reference in New Issue
Block a user