diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-20 21:34:41 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-20 21:34:41 +0100 |
commit | 69b44cd860f08dc613474a41ecb16b03bc7a81da (patch) | |
tree | 57ee8b5088b55f2f59e91a8d76cf9dbc250601c8 /src/osd/modules/debugger/qt/deviceswindow.cpp | |
parent | 5f313860207c707266a28a7223bd73c469fa5573 (diff) |
Revert "fixed qt build (nw)"
This reverts commit a23a0abc768c2a56bc50195ca0379bfe6d3e95cb.
Diffstat (limited to 'src/osd/modules/debugger/qt/deviceswindow.cpp')
-rw-r--r-- | src/osd/modules/debugger/qt/deviceswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/debugger/qt/deviceswindow.cpp b/src/osd/modules/debugger/qt/deviceswindow.cpp index 7484e03cb1a..b9c8f276f69 100644 --- a/src/osd/modules/debugger/qt/deviceswindow.cpp +++ b/src/osd/modules/debugger/qt/deviceswindow.cpp @@ -19,8 +19,8 @@ QVariant DevicesWindowModel::data(const QModelIndex &index, int role) const device_t *dev = static_cast<device_t *>(index.internalPointer()); switch(index.column()) { - case 0: return dev == &m_machine->root_device() ? QString("<root>") : QString(dev->basetag().c_str()); - case 1: return QString(dev->name().c_str()); + case 0: return dev == &m_machine->root_device() ? QString("<root>") : QString(dev->basetag()); + case 1: return QString(dev->name()); } return QVariant(); |