From a83ad4d11fb51771ecaff7d17a0c4ed8160430c6 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Tue, 28 Jul 2015 00:45:17 +0200 Subject: debugqt: Port to Qt5 [O. Galibert] --- src/osd/modules/debugger/qt/deviceswindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/osd/modules/debugger/qt/deviceswindow.c') diff --git a/src/osd/modules/debugger/qt/deviceswindow.c b/src/osd/modules/debugger/qt/deviceswindow.c index 0a71fd8fbdf..75d84f4bc7e 100644 --- a/src/osd/modules/debugger/qt/deviceswindow.c +++ b/src/osd/modules/debugger/qt/deviceswindow.c @@ -128,8 +128,8 @@ DevicesWindow::DevicesWindow(running_machine* machine, QWidget* parent) : m_devices_view->setModel(&m_devices_model); m_devices_view->expandAll(); m_devices_view->resizeColumnToContents(0); - connect(m_devices_view->selectionModel(), SIGNAL(currentRowChanged(const QModelIndex &,const QModelIndex &)), this, SLOT(currentRowChanged(const QModelIndex &,const QModelIndex &))); - connect(m_devices_view, SIGNAL(activated(const QModelIndex &)), this, SLOT(activated(const QModelIndex &))); + connect(m_devices_view->selectionModel(), &QItemSelectionModel::currentRowChanged, this, &DevicesWindow::currentRowChanged); + connect(m_devices_view, &QTreeView::activated, this, &DevicesWindow::activated); setCentralWidget(m_devices_view); } -- cgit v1.2.3-70-g09d2