Use auto to avoid duplicating the type name

This commit is contained in:
Luis Ángel San Martín
2019-05-31 20:58:06 +02:00
parent 923ad40057
commit bb334cfd50
55 changed files with 286 additions and 286 deletions

View File

@ -231,9 +231,9 @@ int main(int argc, char **argv)
}
QLOG_INFO() << "YACReaderLibrary starting";
YACReaderLocalServer *localServer = new YACReaderLocalServer();
auto localServer = new YACReaderLocalServer();
LibraryWindow *mw = new LibraryWindow();
auto mw = new LibraryWindow();
mw->connect(localServer, SIGNAL(comicUpdated(quint64, const ComicDB &)), mw, SLOT(updateComicsView(quint64, const ComicDB &)), Qt::QueuedConnection);