clang-format in src/qt

This commit is contained in:
Jasmine Iwanek
2025-10-03 22:42:29 -04:00
parent 10151c738d
commit ca424aed32
104 changed files with 3358 additions and 3294 deletions

View File

@@ -24,11 +24,14 @@ extern "C" {
}
UpdateCheckDialog::
UpdateCheckDialog(const UpdateCheck::UpdateChannel channel, QWidget *parent) : QDialog(parent), ui(new Ui::UpdateCheckDialog), updateCheck(new UpdateCheck(channel))
UpdateCheckDialog(const UpdateCheck::UpdateChannel channel, QWidget *parent)
: QDialog(parent)
, ui(new Ui::UpdateCheckDialog)
, updateCheck(new UpdateCheck(channel))
{
ui->setupUi(this);
ui->statusLabel->setHidden(true);
updateChannel = channel;
updateChannel = channel;
currentVersion = UpdateCheck::getCurrentVersion(updateChannel);
connect(updateCheck, &UpdateCheck::updateCheckError, [=](const QString &errorMsg) {
generalDownloadError(errorMsg);
@@ -40,8 +43,7 @@ UpdateCheckDialog(const UpdateCheck::UpdateChannel channel, QWidget *parent) : Q
});
}
UpdateCheckDialog::~
UpdateCheckDialog()
UpdateCheckDialog::~UpdateCheckDialog()
= default;
void