From 6e1d202beb71e616cb7c286d2492611e691f13e7 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sat, 1 Feb 2025 08:08:19 -0800 Subject: [PATCH] astyle --- src/dialogs/transcribeaudiodialog.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/dialogs/transcribeaudiodialog.cpp b/src/dialogs/transcribeaudiodialog.cpp index 03fc6bc693..729a083c32 100644 --- a/src/dialogs/transcribeaudiodialog.cpp +++ b/src/dialogs/transcribeaudiodialog.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Meltytech, LLC + * Copyright (c) 2024-2025 Meltytech, LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -192,8 +192,7 @@ TranscribeAudioDialog::TranscribeAudioDialog(const QString &trackName, QWidget * auto path = QFileDialog::getOpenFileName(this, tr("Find Whisper.cpp"), Settings.whisperExe(), QString(), nullptr, Util::getFileDialogOptions()); - if (QFileInfo(path).isExecutable()) - { + if (QFileInfo(path).isExecutable()) { Settings.setWhisperExe(path); updateWhisperStatus(); } @@ -213,13 +212,11 @@ TranscribeAudioDialog::TranscribeAudioDialog(const QString &trackName, QWidget * auto path = QFileDialog::getOpenFileName(this, tr("Find Whisper.cpp"), Settings.whisperModel(), "*.bin", nullptr, Util::getFileDialogOptions()); - if (QFileInfo(path).exists()) - { + if (QFileInfo(path).exists()) { LOG_INFO() << "Model found" << path; Settings.setWhisperModel(path); updateWhisperStatus(); - } else - { + } else { LOG_INFO() << "Model not found" << path; } });