|
1 | | -// src/About.cpp |
2 | | -//---------------------------------- |
3 | | -// RP Soundboard Source Code |
4 | | -// Copyright (c) 2015 Marius Graefe |
5 | | -// All rights reserved |
6 | | -// Contact: rp_soundboard@mgraefe.de |
7 | | -//---------------------------------- |
8 | | - |
9 | | - |
10 | | -#include "About.h" |
11 | | -#include "buildinfo.h" |
12 | | - |
13 | | -// Import from ffmpeg |
14 | | -extern "C" const char *av_version_info(); |
15 | | - |
16 | | - |
17 | | -AboutQt::AboutQt(QWidget *parent) : |
18 | | - QWidget(parent, Qt::Window | Qt::WindowTitleHint /*| Qt::CustomizeWindowHint*/ | Qt::WindowCloseButtonHint), |
19 | | - ui(new Ui::AboutQt) |
20 | | -{ |
21 | | - const char *ffmpeg_version = av_version_info(); |
22 | | - ui->setupUi(this); |
23 | | - ui->l_version->setText(QString(buildinfo_getPluginVersion()) + |
24 | | - "\nBuild on " + buildinfo_getBuildDate() + " " + buildinfo_getBuildTime() + |
25 | | - "\nFFmpeg Version: " + (ffmpeg_version ? ffmpeg_version : "unknown") + |
26 | | - "\nLinked against Qt " QT_VERSION_STR); |
27 | | - setFixedSize(size()); |
28 | | -} |
29 | | - |
30 | | - |
31 | | -AboutQt::~AboutQt() |
32 | | -{ |
33 | | - delete ui; |
34 | | -} |
| 1 | +// src/About.cpp |
| 2 | +//---------------------------------- |
| 3 | +// RP Soundboard Source Code |
| 4 | +// Copyright (c) 2015 Marius Graefe |
| 5 | +// All rights reserved |
| 6 | +// Contact: rp_soundboard@mgraefe.de |
| 7 | +//---------------------------------- |
| 8 | + |
| 9 | + |
| 10 | +#include "About.h" |
| 11 | +#include "buildinfo.h" |
| 12 | + |
| 13 | +// Import from ffmpeg |
| 14 | +extern "C" const char *av_version_info(); |
| 15 | + |
| 16 | + |
| 17 | +AboutQt::AboutQt(QWidget *parent) : |
| 18 | + QWidget(parent, Qt::Window | Qt::WindowTitleHint /*| Qt::CustomizeWindowHint*/ | Qt::WindowCloseButtonHint), |
| 19 | + ui(new Ui::AboutQt) |
| 20 | +{ |
| 21 | + const char *ffmpeg_version = av_version_info(); |
| 22 | + ui->setupUi(this); |
| 23 | + ui->l_version->setText(QString(buildinfo_getPluginVersion()) + |
| 24 | + "\nBuild on " + buildinfo_getBuildDate() + " " + buildinfo_getBuildTime() + |
| 25 | + "\nFFmpeg Version: " + (ffmpeg_version ? ffmpeg_version : "unknown") + |
| 26 | + "\nLinked against Qt " QT_VERSION_STR); |
| 27 | + setFixedSize(size()); |
| 28 | +} |
| 29 | + |
| 30 | + |
| 31 | +AboutQt::~AboutQt() |
| 32 | +{ |
| 33 | + delete ui; |
| 34 | +} |
0 commit comments