Convert to the new signal-slot syntax
This commit is contained in:
parent
55a866dbf3
commit
8e2e9ecbc3
5 changed files with 16 additions and 30 deletions
|
@ -83,8 +83,7 @@ namespace Danbooru {
|
|||
// actionCollection()->removeAction(actionCollection()->action("help_contents"));
|
||||
|
||||
KStandardAction::quit(qApp, SLOT(close()), actionCollection());
|
||||
connect(connectAction, SIGNAL(triggered(bool)), this,
|
||||
SLOT(connectToBoard()));
|
||||
connect(connectAction, &QAction::triggered, this, &DanbooruMainWindow::connectToBoard);
|
||||
connect(fetch, SIGNAL(triggered(bool)), this, SLOT(downloadPosts()));
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue