cutter/src/dialogs/AboutDialog.cpp
Will Dietz 5aedbdba71 shuffle icon names and fix icon installation
* don't refer to non-existant "cutter-small.png"
* icon renaming as requested:
  https://github.com/radareorg/cutter/pull/180#issuecomment-349686261
* Fixes #174

References semi-automatically updated to track
renaming, hopefully caught them all.

(appears to have worked upon quick inspection)
2017-12-07 11:46:23 +01:00

32 lines
1.0 KiB
C++

#include <cutter.h>
#include "AboutDialog.h"
#include "ui_AboutDialog.h"
#include "r_version.h"
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
QString logoFile = (palette().window().color().value() < 127) ? ":/img/cutter_white_plain.svg" : ":/img/cutter_plain.svg";
ui->logoSvgWidget->load(logoFile);
ui->label->setText(tr("<h1>Cutter</h1>"
"Version " CUTTER_VERSION "<br/>"
"Using r2-" R2_GITTAP
"<h2>License</h2>"
"This Software is released under the GNU General Public License v3.0"
"<h2>Authors</h2>"
"xarkes, thestr4ng3r, ballessay<br/>"
"Based on work by Hugo Teso &lt;hugo.teso@gmail.org&gt; (originally Iaito)."));
}
AboutDialog::~AboutDialog() {}
void AboutDialog::on_buttonBox_rejected()
{
close();
}