diff --git a/src/devices/connecteddevice.h b/src/devices/connecteddevice.h index d18f9c2cd..083d17572 100644 --- a/src/devices/connecteddevice.h +++ b/src/devices/connecteddevice.h @@ -46,9 +46,6 @@ class ConnectedDevice : public QObject, virtual void Init() = 0; virtual void ConnectAsync(); - // For some devices (e.g. CD devices) we don't have callbacks to be notified - // when something change: we can call this method to refresh device's state - virtual void Refresh() {} virtual TranscodeMode GetTranscodeMode() const; virtual Song::FileType GetTranscodeFormat() const; diff --git a/src/devices/devicemanager.cpp b/src/devices/devicemanager.cpp index 3a704f1e5..ea60d72d1 100644 --- a/src/devices/devicemanager.cpp +++ b/src/devices/devicemanager.cpp @@ -191,7 +191,6 @@ QVariant DeviceManager::data(const QModelIndex& idx, int role) const { if (info->size_) text = text + QString(" (%1)").arg(Utilities::PrettySize(info->size_)); - if (info->device_.get()) info->device_->Refresh(); return text; }