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
|
@ -56,10 +56,8 @@ namespace Danbooru {
|
|||
|
||||
// signal-slot connections
|
||||
|
||||
connect(m_delegate, SIGNAL(postDownloadRequested(QUrl)), this,
|
||||
SLOT(slotHandleDownload(QUrl)));
|
||||
connect(m_delegate, SIGNAL(postViewRequested(QUrl)), this,
|
||||
SLOT(slotHandleView(QUrl)));
|
||||
connect(m_delegate, &DanbooruPostDelegate::postDownloadRequested, this, &DanbooruClientView::slotHandleDownload);
|
||||
connect(m_delegate, &DanbooruPostDelegate::postViewRequested, this, &DanbooruClientView::slotHandleView);
|
||||
// connect(m_listView, SIGNAL(clicked(const QModelIndex&)), parent(),
|
||||
// SLOT(displayInfo(const QModelIndex&));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue