Some reworks and handling changes
This commit is contained in:
parent
b8bbddabe0
commit
d6b7bee928
@ -390,7 +390,7 @@ void SettingsWindow::loadSystemValues()
|
||||
QStringList inputs = data_return.readAll().split("\n");
|
||||
inputsFile.close();
|
||||
int cleaner = ui_->comboBoxPulseInput->count();
|
||||
while (cleaner > 0) {
|
||||
while (cleaner > -1) {
|
||||
ui_->comboBoxPulseInput->removeItem(cleaner);
|
||||
cleaner--;
|
||||
}
|
||||
@ -410,7 +410,7 @@ void SettingsWindow::loadSystemValues()
|
||||
QStringList outputs = data_return.readAll().split("\n");
|
||||
outputsFile.close();
|
||||
int cleaner = ui_->comboBoxPulseOutput->count();
|
||||
while (cleaner > 0) {
|
||||
while (cleaner > -1) {
|
||||
ui_->comboBoxPulseOutput->removeItem(cleaner);
|
||||
cleaner--;
|
||||
}
|
||||
@ -469,10 +469,10 @@ void SettingsWindow::loadSystemValues()
|
||||
|
||||
// set dac
|
||||
QString dac = "Custom";
|
||||
if (getparams[23] == "allo-boss-dac-pcm512x-audio,slave") {
|
||||
if (getparams[23] == "allo-boss-dac-pcm512x-audio") {
|
||||
dac = "Allo - Boss";
|
||||
}
|
||||
if (getparams[23] == "allo-piano-dac-pcm512x-audio,slave") {
|
||||
if (getparams[23] == "allo-piano-dac-pcm512x-audio") {
|
||||
dac = "Allo - Piano";
|
||||
}
|
||||
if (getparams[23] == "iqaudio-dacplus") {
|
||||
|
@ -748,7 +748,6 @@ QPushButton:pressed { background: orange; border: none; }</string>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>dashcamBG</zorder>
|
||||
<zorder>masterButtonBG</zorder>
|
||||
<zorder>pushButtonSettings</zorder>
|
||||
<zorder>pushButtonLock</zorder>
|
||||
@ -767,6 +766,7 @@ QPushButton:pressed { background: orange; border: none; }</string>
|
||||
<zorder>systemDebugging</zorder>
|
||||
<zorder>versionString</zorder>
|
||||
<zorder>dateString</zorder>
|
||||
<zorder>dashcamBG</zorder>
|
||||
<zorder>pushButtonStop</zorder>
|
||||
<zorder>pushButtonRecord</zorder>
|
||||
<zorder>pushButtonRecordActive</zorder>
|
||||
|
@ -620,14 +620,6 @@ QSlider::groove:horizontal { background: #6d6d6d; height: 32px;}</string>
|
||||
<property name="editable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="currentText">
|
||||
<string>not selected</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>not selected</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
<widget class="QLabel" name="labelPulseOutput">
|
||||
<property name="geometry">
|
||||
|
Loading…
x
Reference in New Issue
Block a user