summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/configure.cpp')
-rw-r--r--rbutil/rbutilqt/configure.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index d4457a34ed..fc67cb410e 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -385,9 +385,8 @@ void Config::setDevices()
continue;
// construct display name
QString curname = SystemInfo::platformValue(
- SystemInfo::Name, platformList.at(it)).toString() +
- " (" + ServerInfo::statusToString(ServerInfo::platformValue(
- ServerInfo::CurStatus, platformList.at(it)).toInt()) +")";
+ SystemInfo::Name, platformList.at(it)).toString()
+ + " (" + ServerInfo::instance()->statusAsString(platformList.at(it)) + ")";
LOG_INFO() << "add supported device:" << brands.at(c) << curname;
w2 = new QTreeWidgetItem(w, QStringList(curname));
w2->setData(0, Qt::UserRole, platformList.at(it));