ProjectExplorer::IDevice: Add a default display name

Task-number: QTCREATORBUG-16281
Change-Id: Ieff929343b5dc3a84d9ecf5f4f0a032cb4ae4076
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-08-01 14:30:10 +02:00
parent 86d0c7ef66
commit 45f9c178e1
16 changed files with 33 additions and 23 deletions

View File

@@ -83,6 +83,7 @@ class QnxPortsGatheringMethod : public PortsGatheringMethod
QnxDevice::QnxDevice()
{
setDisplayType(tr("QNX"));
setDefaultDisplayName(tr("QNX Device"));
addDeviceAction({tr("Deploy Qt libraries..."), [](const IDevice::Ptr &device, QWidget *parent) {
QnxDeployQtLibrariesDialog dialog(device, parent);
dialog.exec();