diff --git a/src/Editor/Widgets/CSelectResourcePanel.cpp b/src/Editor/Widgets/CSelectResourcePanel.cpp index 775fd7b9..d8219a30 100644 --- a/src/Editor/Widgets/CSelectResourcePanel.cpp +++ b/src/Editor/Widgets/CSelectResourcePanel.cpp @@ -18,9 +18,9 @@ CSelectResourcePanel::CSelectResourcePanel(CResourceSelector *pSelector) mpUI->ResourceTableView->setModel(&mProxyModel); // Signals/slots - connect(gpEdApp, SIGNAL(focusChanged(QWidget*,QWidget*)), this, SLOT(FocusChanged(QWidget*,QWidget*))); - connect(mpUI->SearchBar, SIGNAL(StoppedTyping(QString)), this, SLOT(SearchStringChanged(QString))); - connect(mpUI->ResourceTableView, SIGNAL(clicked(QModelIndex)), this, SLOT(ResourceClicked(QModelIndex))); + connect(gpEdApp, &QApplication::focusChanged, this, &CSelectResourcePanel::FocusChanged); + connect(mpUI->SearchBar, &CTimedLineEdit::StoppedTyping, this, &CSelectResourcePanel::SearchStringChanged); + connect(mpUI->ResourceTableView, &QTableView::clicked, this, &CSelectResourcePanel::ResourceClicked); // Determine size QPoint SelectorPos = pSelector->parentWidget()->mapToGlobal( pSelector->pos() );