OSDN Git Service
(root)
/
kde
/
kde-workspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c795f0
)
kinfocenter: do not assume product of solid device is not empty
author
Ivailo Monev
<xakepa10@gmail.com>
Mon, 5 Jul 2021 09:50:26 +0000
(09:50 +0000)
committer
Ivailo Monev
<xakepa10@gmail.com>
Mon, 5 Jul 2021 09:50:26 +0000
(09:50 +0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kinfocenter/Modules/devinfo/infopanel.cpp
patch
|
blob
|
history
diff --git
a/kinfocenter/Modules/devinfo/infopanel.cpp
b/kinfocenter/Modules/devinfo/infopanel.cpp
index
b246cf2
..
f58d8d9
100644
(file)
--- a/
kinfocenter/Modules/devinfo/infopanel.cpp
+++ b/
kinfocenter/Modules/devinfo/infopanel.cpp
@@
-120,7
+120,7
@@
void InfoPanel::setTopInfo(const QIcon &deviceIcon, Solid::Device *device)
tLayout->addWidget(setDevicesIcon(deviceIcon),0,Qt::AlignHCenter);
labels << i18n("Product: ")
- <<
device->product(
)
+ <<
friendlyString(device->product()
)
<< i18n("Vendor: ")
<< friendlyString(device->vendor());