mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Audio preferences dialog: removed useless indicator
This commit is contained in:
parent
8735ca97ca
commit
ff5b6af6cc
@ -122,15 +122,13 @@ void AudioDialogX::on_audioInTree_currentItemChanged(
|
||||
QString inDeviceName = currentItem->text(1);
|
||||
int newIndex = ui->audioInTree->indexOfTopLevelItem(currentItem);
|
||||
int oldIndex = ui->audioInTree->indexOfTopLevelItem(previousItem);
|
||||
//qDebug("AudioDialogX::on_audioInTree_currentItemChanged: %s", qPrintable(inDeviceName));
|
||||
|
||||
if (newIndex != oldIndex) {
|
||||
ui->inputResetKey->setChecked(false);
|
||||
}
|
||||
|
||||
bool found = m_audioDeviceManager->getInputDeviceInfo(inDeviceName, inDeviceInfo);
|
||||
m_audioDeviceManager->getInputDeviceInfo(inDeviceName, inDeviceInfo);
|
||||
m_inputDeviceInfo = inDeviceInfo;
|
||||
ui->inputDefaultText->setText(found ? "" : "D");
|
||||
|
||||
updateInputDisplay();
|
||||
}
|
||||
@ -148,10 +146,8 @@ void AudioDialogX::on_audioOutTree_currentItemChanged(
|
||||
ui->outputResetKey->setChecked(false);
|
||||
}
|
||||
|
||||
//qDebug("AudioDialogX::on_audioOutTree_currentItemChanged: %s", qPrintable(outDeviceName));
|
||||
bool found = m_audioDeviceManager->getOutputDeviceInfo(outDeviceName, outDeviceInfo);
|
||||
m_audioDeviceManager->getOutputDeviceInfo(outDeviceName, outDeviceInfo);
|
||||
m_outputDeviceInfo = outDeviceInfo;
|
||||
ui->outputDefaultText->setText(found ? "" : "D");
|
||||
|
||||
updateOutputDisplay();
|
||||
}
|
||||
|
@ -100,22 +100,6 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="outputDefaultText">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>16</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Default values indicator</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>D</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="outputReset">
|
||||
<property name="maximumSize">
|
||||
@ -429,22 +413,6 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="inputDefaultText">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>16</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Default values indicator</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>D</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="inputReset">
|
||||
<property name="maximumSize">
|
||||
|
Loading…
Reference in New Issue
Block a user