1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-17 12:02:48 +01:00

Make format

This commit is contained in:
Chocobozzz 2014-11-05 13:05:58 +01:00
parent da99c55eed
commit 8fba1c30f4

View File

@ -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()); }