use pretty name from Device class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128593
This commit is contained in:
parent
6b260d97ec
commit
d8d7b82862
|
@ -32,10 +32,10 @@ class ListDeviceWidgetItem : public QListWidgetItem
|
|||
{
|
||||
public:
|
||||
ListDeviceWidgetItem(const Device& d) :
|
||||
QListWidgetItem(DesktopIcon(d.iconName()), d.deviceNode() + " (" + Capacity(d).toString() + ')'),
|
||||
QListWidgetItem(DesktopIcon(d.iconName()), d.prettyName()),
|
||||
deviceNode(d.deviceNode())
|
||||
{
|
||||
setToolTip(d.deviceNode() + " (" + Capacity(d).toString() + ", " + d.name() + ')');
|
||||
setToolTip(d.prettyName());
|
||||
setSizeHint(QSize(0, 32));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue