X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdialogs%2Fabout.cpp;h=806dc4c5c057c6ee2bafa76e1700039230b18367;hb=4e5a4405482a296ebb6014e627298ad156c78d55;hp=9195b83bb56d67cf56022fb4c207ae2a00e54de8;hpb=83259518cae8c8e51ebbe1edba742ac8733ca76a;p=pulseview.git diff --git a/pv/dialogs/about.cpp b/pv/dialogs/about.cpp index 9195b83b..806dc4c5 100644 --- a/pv/dialogs/about.cpp +++ b/pv/dialogs/about.cpp @@ -18,21 +18,18 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -extern "C" { -#include -} +#include #include #include "about.h" #include -extern "C" { /* __STDC_FORMAT_MACROS is required for PRIu64 and friends (in C++). */ #define __STDC_FORMAT_MACROS #include #include -} + namespace pv { namespace dialogs { @@ -44,7 +41,9 @@ About::About(QWidget *parent) : struct sr_dev_driver **drivers; struct sr_input_format **inputs; struct sr_output_format **outputs; + struct srd_decoder *dec; + QString s; ui->setupUi(this); @@ -53,8 +52,9 @@ About::About(QWidget *parent) : ui->versionInfo->setText(tr("%1 %2
%3
%4") .arg(QApplication::applicationName()) .arg(QApplication::applicationVersion()) - .arg(tr("GNU GPL, version 2 or later")) + .arg(tr("GNU GPL, version 3 or later")) .arg(QApplication::organizationDomain())); + ui->versionInfo->setOpenExternalLinks(true); s.append("");