Convert to the new signal-slot syntax

This commit is contained in:
Luca Beltrame 2014-10-03 23:17:52 +02:00
parent 55a866dbf3
commit 8e2e9ecbc3
5 changed files with 16 additions and 30 deletions

View file

@ -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()));
}