Indicate if service is availabl or not
This commit is contained in:
committed by
craig.p.drummond
parent
1698949af3
commit
1c2b3154f4
@@ -452,6 +452,11 @@ void Device::removeSongFromList(const Song &s)
|
||||
void Device::setStatusMessage(const QString &msg)
|
||||
{
|
||||
statusMsg=msg;
|
||||
updateStatus();
|
||||
}
|
||||
|
||||
void Device::updateStatus()
|
||||
{
|
||||
QModelIndex modelIndex=model->createIndex(model->devices.indexOf(this), 0, this);
|
||||
emit model->dataChanged(modelIndex, modelIndex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user