mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
fix clang format
This commit is contained in:
parent
8e54e7cf1a
commit
62a69e0547
@ -61,7 +61,8 @@ void ConfigureAudio::SetConfiguration() {
|
|||||||
SetAudioDeviceFromDeviceID();
|
SetAudioDeviceFromDeviceID();
|
||||||
|
|
||||||
ui->toggle_audio_stretching->setChecked(Settings::values.enable_audio_stretching);
|
ui->toggle_audio_stretching->setChecked(Settings::values.enable_audio_stretching);
|
||||||
ui->volume_slider->setValue(static_cast<int>(Settings::values.volume * ui->volume_slider->maximum()));
|
ui->volume_slider->setValue(
|
||||||
|
static_cast<int>(Settings::values.volume * ui->volume_slider->maximum()));
|
||||||
SetVolumeIndicatorText(ui->volume_slider->sliderPosition());
|
SetVolumeIndicatorText(ui->volume_slider->sliderPosition());
|
||||||
|
|
||||||
int selection;
|
int selection;
|
||||||
|
@ -133,8 +133,9 @@ bool UpdaterPrivate::StartUpdateCheck() {
|
|||||||
connect(main_process,
|
connect(main_process,
|
||||||
static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this,
|
static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this,
|
||||||
&UpdaterPrivate::UpdaterReady, Qt::QueuedConnection);
|
&UpdaterPrivate::UpdaterReady, Qt::QueuedConnection);
|
||||||
connect(main_process, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::errorOccurred),
|
connect(main_process,
|
||||||
this, &UpdaterPrivate::UpdaterError, Qt::QueuedConnection);
|
static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::errorOccurred), this,
|
||||||
|
&UpdaterPrivate::UpdaterError, Qt::QueuedConnection);
|
||||||
|
|
||||||
main_process->start(QIODevice::ReadOnly);
|
main_process->start(QIODevice::ReadOnly);
|
||||||
running = true;
|
running = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user