diff --git a/src/Editor/ResourceBrowser/CResourceTableView.cpp b/src/Editor/ResourceBrowser/CResourceTableView.cpp index f86f9445..42923f16 100644 --- a/src/Editor/ResourceBrowser/CResourceTableView.cpp +++ b/src/Editor/ResourceBrowser/CResourceTableView.cpp @@ -4,14 +4,14 @@ #include #include -CResourceTableView::CResourceTableView(QWidget *pParent /*= 0*/) +CResourceTableView::CResourceTableView(QWidget *pParent) : QTableView(pParent) { // todo: removed delete shortcut because it conflicts with the World Editor delete shortcut #if 0 mpDeleteAction = new QAction(this); mpDeleteAction->setShortcut(QKeySequence::Delete); - connect(mpDeleteAction, SIGNAL(triggered(bool)), this, SLOT(DeleteSelected())); + connect(mpDeleteAction, &QAction::triggered, this, &CResourceTableView::DeleteSelected); addAction(mpDeleteAction); #endif }