diff --git a/src/dialogs/AboutDialog.cpp b/src/dialogs/AboutDialog.cpp index 096c4626..496e644a 100644 --- a/src/dialogs/AboutDialog.cpp +++ b/src/dialogs/AboutDialog.cpp @@ -2,6 +2,7 @@ #include "AboutDialog.h" #include "ui_AboutDialog.h" #include "r_version.h" +#include "utils/Configuration.h" AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), @@ -9,9 +10,7 @@ AboutDialog::AboutDialog(QWidget *parent) : { 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->logoSvgWidget->load(Config()->getLogoFile()); ui->label->setText(tr("

Cutter

" "Version " CUTTER_VERSION "
"