mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
5aedbdba71
* 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)
32 lines
1.0 KiB
C++
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 <hugo.teso@gmail.org> (originally Iaito)."));
|
|
}
|
|
|
|
AboutDialog::~AboutDialog() {}
|
|
|
|
void AboutDialog::on_buttonBox_rejected()
|
|
{
|
|
close();
|
|
}
|