mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +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
|
||||
QString icon_name;
|
||||
if(ui_->icon->currentItem() != nullptr) {
|
||||
if (ui_->icon->currentItem() != nullptr) {
|
||||
icon_name = ui_->icon->currentItem()->data(Qt::UserRole).toString();
|
||||
}
|
||||
|
||||
manager_->SetDeviceOptions(
|
||||
index_.row(), ui_->name->text(), icon_name, mode,format);
|
||||
manager_->SetDeviceOptions(index_.row(), ui_->name->text(), icon_name, mode,
|
||||
format);
|
||||
}
|
||||
|
||||
void DeviceProperties::OpenDevice() { manager_->Connect(index_.row()); }
|
||||
|
Loading…
Reference in New Issue
Block a user