mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Use auto to avoid duplicating the type name
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user