mirror of
https://github.com/YACReader/yacreader
synced 2025-07-16 12:04:34 -04:00
Convert Mac toolbar to new slot syntax
This commit is contained in:
@ -2176,8 +2176,8 @@ void LibraryWindow::toNormal()
|
||||
auto timer = new QTimer();
|
||||
timer->setSingleShot(true);
|
||||
timer->start();
|
||||
connect(timer, SIGNAL(timeout()), libraryToolBar, SLOT(show()));
|
||||
connect(timer, SIGNAL(timeout()), timer, SLOT(deleteLater()));
|
||||
connect(timer, &QTimer::timeout, libraryToolBar, &YACReaderMacOSXToolbar::show);
|
||||
connect(timer, &QTimer::timeout, timer, &QTimer::deleteLater);
|
||||
#else
|
||||
libraryToolBar->show();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user