mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Apply logo fix also to AboutDialog (#327)
This commit is contained in:
parent
524be44dc2
commit
4f484eb1f4
@ -2,6 +2,7 @@
|
|||||||
#include "AboutDialog.h"
|
#include "AboutDialog.h"
|
||||||
#include "ui_AboutDialog.h"
|
#include "ui_AboutDialog.h"
|
||||||
#include "r_version.h"
|
#include "r_version.h"
|
||||||
|
#include "utils/Configuration.h"
|
||||||
|
|
||||||
AboutDialog::AboutDialog(QWidget *parent) :
|
AboutDialog::AboutDialog(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
@ -9,9 +10,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
|
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
|
||||||
|
ui->logoSvgWidget->load(Config()->getLogoFile());
|
||||||
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>"
|
ui->label->setText(tr("<h1>Cutter</h1>"
|
||||||
"Version " CUTTER_VERSION "<br/>"
|
"Version " CUTTER_VERSION "<br/>"
|
||||||
|
Loading…
Reference in New Issue
Block a user