diff --git a/dialogs/aboutdialog.cpp b/dialogs/aboutdialog.cpp
index 9d2ab6ba2..3e5969075 100644
--- a/dialogs/aboutdialog.cpp
+++ b/dialogs/aboutdialog.cpp
@@ -24,32 +24,38 @@
#include "
- ""
- "https://www.olivevideoeditor.org/"
- " "
- + tr("Olive is a non-linear video editor. This software is free and protected by the GNU GPL.")
- + " "
- + tr("Olive Team is obliged to inform users that Olive source code is available for download from its website.")
- + "![]()
![]()
" + "" + "https://www.olivevideoeditor.org/" + "
" + "%1
" // AppName (version identifier) + "%2
" // First statement + "%3
" // Second statement + "").arg(olive::AppName, + tr("Olive is a non-linear video editor. This software is free and " + "protected by the GNU GPL."), + tr("Olive Team is obliged to inform users that Olive source code is " + "available for download from its website.")), this); + label->setAlignment(Qt::AlignCenter); + label->setWordWrap(true); + layout->addWidget(label); - QDialogButtonBox* buttons = new QDialogButtonBox(QDialogButtonBox::Ok, this); - buttons->setCenterButtons(true); - layout->addWidget(buttons); + QDialogButtonBox* buttons = new QDialogButtonBox(QDialogButtonBox::Ok, this); + buttons->setCenterButtons(true); + layout->addWidget(buttons); - connect(buttons, SIGNAL(accepted()), this, SLOT(accept())); + connect(buttons, SIGNAL(accepted()), this, SLOT(accept())); } diff --git a/dialogs/aboutdialog.h b/dialogs/aboutdialog.h index 2faee3f58..4f4e49134 100644 --- a/dialogs/aboutdialog.h +++ b/dialogs/aboutdialog.h @@ -25,10 +25,10 @@ class AboutDialog : public QDialog { - Q_OBJECT + Q_OBJECT public: - explicit AboutDialog(QWidget *parent = 0); + explicit AboutDialog(QWidget *parent = nullptr); }; #endif // ABOUTDIALOG_H