fix clang format

This commit is contained in:
Vitor Kiguchi 2020-07-24 22:48:25 -03:00
parent 8e54e7cf1a
commit 62a69e0547
2 changed files with 5 additions and 3 deletions

View file

@ -61,7 +61,8 @@ void ConfigureAudio::SetConfiguration() {
SetAudioDeviceFromDeviceID();
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());
int selection;

View file

@ -133,8 +133,9 @@ bool UpdaterPrivate::StartUpdateCheck() {
connect(main_process,
static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this,
&UpdaterPrivate::UpdaterReady, Qt::QueuedConnection);
connect(main_process, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::errorOccurred),
this, &UpdaterPrivate::UpdaterError, Qt::QueuedConnection);
connect(main_process,
static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::errorOccurred), this,
&UpdaterPrivate::UpdaterError, Qt::QueuedConnection);
main_process->start(QIODevice::ReadOnly);
running = true;