From b984992fc92b6dd607732d6dad1c533b36f1ba3a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 7 Jan 2018 23:28:42 +0100 Subject: Added .clang-format --- src/forms/aboutdialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/forms/aboutdialog.cpp') diff --git a/src/forms/aboutdialog.cpp b/src/forms/aboutdialog.cpp index 0744a5f..e5dfc7d 100644 --- a/src/forms/aboutdialog.cpp +++ b/src/forms/aboutdialog.cpp @@ -12,7 +12,7 @@ constexpr const char *getCompiler() { - // clang also defines __GNUC__, so we need to check for clang first +// clang also defines __GNUC__, so we need to check for clang first #if defined(__clang__) return "Clang " __clang_version__; #elif defined(__GNUC__) @@ -31,9 +31,9 @@ inline const QString getLongVersion() #endif } -AboutDialog::AboutDialog(QWidget *parent) : - QDialog(parent), - ui(new Ui::AboutDialog) +AboutDialog::AboutDialog(QWidget *parent) + : QDialog(parent) + , ui(new Ui::AboutDialog) { setAttribute(Qt::WA_DeleteOnClose, true); ui->setupUi(this); @@ -44,7 +44,7 @@ AboutDialog::AboutDialog(QWidget *parent) : aboutLabel->setWordWrap(true); aboutLabel->setText(tr("

smolbote %1

" "

yet another no-frills browser

") - .arg(qApp->applicationVersion())); + .arg(qApp->applicationVersion())); ui->toolBox->addItem(aboutLabel, tr("About")); QLabel *licenseLabel = new QLabel(this); @@ -72,7 +72,7 @@ AboutDialog::AboutDialog(QWidget *parent) : "
  • Qt %3
  • " "
  • libconfig
  • " "

    ") - .arg(getLongVersion(), getCompiler(), qVersion())); + .arg(getLongVersion(), getCompiler(), qVersion())); ui->toolBox->addItem(libsLabel, tr("Details")); } -- cgit v1.2.1