diff --git a/src/device/devicemanager.cpp b/src/device/devicemanager.cpp index ff8a0d9f7..0a0535185 100644 --- a/src/device/devicemanager.cpp +++ b/src/device/devicemanager.cpp @@ -291,7 +291,7 @@ QVariant DeviceManager::data(const QModelIndex &idx, int role) const { if (info->size_ > 0) { text = text + QString(" (%1)").arg(Utilities::PrettySize(info->size_)); } - if (&*info->device_) info->device_->Refresh(); + if (info->device_) info->device_->Refresh(); return text; }