OSDN Git Service

kinfocenter: handle PCI serial port type
authorIvailo Monev <xakepa10@gmail.com>
Thu, 2 Sep 2021 14:24:32 +0000 (17:24 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Thu, 2 Sep 2021 14:24:32 +0000 (17:24 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kinfocenter/Modules/devinfo/soldevicetypes.cpp

index 2d2455c..79865e6 100644 (file)
@@ -840,6 +840,8 @@ QVListLayout *SolSerialDevice::infoPanelLayout()
       type = i18nc("platform serial interface type", "Platform"); break;
     case Solid::SerialInterface::Usb:
       type = i18n("USB"); break;
+    case Solid::SerialInterface::Pci:
+      type = i18n("PCI"); break;
     default:
       type = i18nc("unknown serial interface type", "Unknown"); 
   }