Removing ConnectedDevice::Refresh altogether
This commit is contained in:
parent
639b918557
commit
95799a911d
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue