LVM support #6

Closed
andrius wants to merge 109 commits from (deleted):lvm-support-rebase into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 83ec1169a3 - Show all commits

View File

@ -41,7 +41,7 @@ Device::Device(const QString& name,
, m_TotalLogical(totalLogical)
, m_PartitionTable(nullptr)
, m_IconName(iconname.isEmpty() ? QStringLiteral("drive-harddisk") : iconname)
, m_SmartStatus(new SmartStatus(devicenode))
, m_SmartStatus(type == Device::Disk_Device ? new SmartStatus(devicenode) : nullptr)
, m_Type(type)
{
}