Commit 00328f96 authored by Ulf Hermann's avatar Ulf Hermann

QNX: Don't return display names for devices we don't support

Change-Id: Iec1c2108f5e0fd9028cf00f8c18eb7590fd2e76b
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 2b18af32
......@@ -44,7 +44,7 @@ QnxDeviceFactory::QnxDeviceFactory(QObject *parent) :
QString QnxDeviceFactory::displayNameForId(Core::Id type) const
{
Q_UNUSED(type);
QTC_ASSERT(type == Constants::QNX_QNX_OS_TYPE, return QString());
return tr("QNX Device");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment