mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
Make format
This commit is contained in:
parent
da99c55eed
commit
8fba1c30f4
@ -254,12 +254,12 @@ void DeviceProperties::accept() {
|
|||||||
|
|
||||||
// By default no icon is selected and thus no current item is selected
|
// By default no icon is selected and thus no current item is selected
|
||||||
QString icon_name;
|
QString icon_name;
|
||||||
if(ui_->icon->currentItem() != nullptr) {
|
if (ui_->icon->currentItem() != nullptr) {
|
||||||
icon_name = ui_->icon->currentItem()->data(Qt::UserRole).toString();
|
icon_name = ui_->icon->currentItem()->data(Qt::UserRole).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
manager_->SetDeviceOptions(
|
manager_->SetDeviceOptions(index_.row(), ui_->name->text(), icon_name, mode,
|
||||||
index_.row(), ui_->name->text(), icon_name, mode,format);
|
format);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeviceProperties::OpenDevice() { manager_->Connect(index_.row()); }
|
void DeviceProperties::OpenDevice() { manager_->Connect(index_.row()); }
|
||||||
|
Loading…
Reference in New Issue
Block a user