[meta] clang-format literally all of the Qt code (#3706)
Some checks failed
tx-src / sources (push) Has been cancelled
Check Strings / check-strings (push) Has been cancelled

I'm tired of dealing with this tbh

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3706
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
This commit is contained in:
crueter 2026-03-10 06:51:08 +01:00
parent 769edbfea3
commit 8678cb06eb
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
107 changed files with 1457 additions and 1737 deletions

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
#include "migration_dialog.h"
#include <QApplication>
@ -6,11 +9,8 @@
#include <QPushButton>
#include <QStyle>
MigrationDialog::MigrationDialog(
QWidget *parent)
: QDialog(parent)
{
QVBoxLayout *layout = new QVBoxLayout(this);
MigrationDialog::MigrationDialog(QWidget* parent) : QDialog(parent) {
QVBoxLayout* layout = new QVBoxLayout(this);
m_text = new QLabel(this);
m_boxes = new QVBoxLayout;
@ -26,23 +26,16 @@ MigrationDialog::~MigrationDialog() {
m_buttons->deleteLater();
}
void MigrationDialog::setText(
const QString &text)
{
void MigrationDialog::setText(const QString& text) {
m_text->setText(text);
}
void MigrationDialog::addBox(
QWidget *box)
{
void MigrationDialog::addBox(QWidget* box) {
m_boxes->addWidget(box);
}
QAbstractButton *MigrationDialog::addButton(
const QString &text, const bool reject)
{
QAbstractButton *button = new QPushButton(this);
QAbstractButton* MigrationDialog::addButton(const QString& text, const bool reject) {
QAbstractButton* button = new QPushButton(this);
button->setText(text);
m_buttons->addWidget(button, 1);
@ -58,7 +51,6 @@ QAbstractButton *MigrationDialog::addButton(
return button;
}
QAbstractButton *MigrationDialog::clickedButton() const
{
QAbstractButton* MigrationDialog::clickedButton() const {
return m_clickedButton;
}