diff options
author | 2015-07-28 00:45:17 +0200 | |
---|---|---|
committer | 2015-07-29 11:19:43 +0200 | |
commit | a83ad4d11fb51771ecaff7d17a0c4ed8160430c6 (patch) | |
tree | 89b1e585f4196466204100bd4f869a34833c437e /src/osd/modules/debugger/qt/deviceswindow.c | |
parent | 1b452e3bfb48e9c77e705a60ab285c382d457e8a (diff) |
debugqt: Port to Qt5 [O. Galibert]
Diffstat (limited to 'src/osd/modules/debugger/qt/deviceswindow.c')
-rw-r--r-- | src/osd/modules/debugger/qt/deviceswindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |