From d5b518888590cb17a8be1cb48a8847416991baf9 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 29 May 2018 12:57:35 +0200 Subject: Update about dialog --- lib/about/aboutdialog.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lib/about/aboutdialog.cpp') diff --git a/lib/about/aboutdialog.cpp b/lib/about/aboutdialog.cpp index df87ad2..6b4ebb8 100644 --- a/lib/about/aboutdialog.cpp +++ b/lib/about/aboutdialog.cpp @@ -10,6 +10,7 @@ #include "ui_aboutdialog.h" #include #include +#include "version.h" // compiler // clang also defines __GNUC__, so we need to check for clang first @@ -42,21 +43,22 @@ AboutDialog::AboutDialog(QWidget *parent) auto *licenseLabel = new QLabel(this); licenseLabel->setWordWrap(true); licenseLabel->setText(tr("

Copyright 2017 - 2018 aqua

" - "

This program is free software, and you are welcome to use it under the conditions set by the GNU GPLv3:" - "

    " + "

    This program is free software, and you are welcome to use it under the conditions set by the GNU GPLv3.
    " + "This is a short summary:

      " "
    • the freedom to use the software for any purpose,
    • " "
    • the freedom to change the software to suit your needs,
    • " "
    • the freedom to share the software with anyone,
    • " "
    • the freedom to share the changes you make, and
    • " "
    • the responsibility to grant the same freedoms when sharing the software.
    • " "
    " - "

    This is a short summary; you can find the full license text in LICENSE.md.

    ")); + "

    This program is distributed in the hope that it will be useful, but without any warranty.

    ")); ui->toolBox->addItem(licenseLabel, tr("License")); auto *detailsLabel = new QLabel(this); detailsLabel->setWordWrap(true); - detailsLabel->setText(tr("

    Compiled with " compiler "

    " - "

      " + detailsLabel->setText(tr("

      Build " SMOLBOTE_BRANCH ":" SMOLBOTE_COMMIT "

      " + "

      Compiled with " compiler "

      " + "

      Libraries:

        " "
      • Qt " QT_VERSION_STR "
      • " "
      • QtWebEngine " QTWEBENGINE_VERSION_STR "
      • " "
      • Boost " BOOST_LIB_VERSION "
      • " -- cgit v1.2.1