mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 05:54:39 -04:00
Convert Mac toolbar to new slot syntax
This commit is contained in:
@ -100,7 +100,7 @@ void YACReaderTitledToolBar::addAction(QAction *action)
|
||||
pb->setIcon(action->icon());
|
||||
pb->addAction(action);
|
||||
|
||||
connect(pb, SIGNAL(clicked(bool)), action, SIGNAL(triggered(bool)));
|
||||
connect(pb, &QPushButton::clicked, action, &QAction::triggered);
|
||||
|
||||
mainLayout->addWidget(pb);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user