aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/GpgFrontendApplication.cpp5
-rw-r--r--src/ui/dialog/Wizard.cpp3
-rw-r--r--src/ui/dialog/help/AboutDialog.cpp4
3 files changed, 7 insertions, 5 deletions
diff --git a/src/ui/GpgFrontendApplication.cpp b/src/ui/GpgFrontendApplication.cpp
index 1304aad5..c832ffe0 100644
--- a/src/ui/GpgFrontendApplication.cpp
+++ b/src/ui/GpgFrontendApplication.cpp
@@ -36,8 +36,9 @@ namespace GpgFrontend::UI {
GpgFrontendApplication::GpgFrontendApplication(int &argc, char *argv[])
: QApplication(argc, argv) {
-#ifndef MACOS
- this->setWindowIcon(QIcon(":/icons/gpgfrontend.png"));
+#if defined(DEBUG) || !defined(MACOS)
+ GpgFrontend::UI::GpgFrontendApplication::setWindowIcon(
+ QIcon(":/icons/gpgfrontend.png"));
#endif
// set the extra information of the build
diff --git a/src/ui/dialog/Wizard.cpp b/src/ui/dialog/Wizard.cpp
index 5765bd1b..ad97d2e5 100644
--- a/src/ui/dialog/Wizard.cpp
+++ b/src/ui/dialog/Wizard.cpp
@@ -42,7 +42,8 @@ Wizard::Wizard(QWidget* parent) : QWizard(parent) {
#endif
setWindowTitle(tr("First Start Wizard"));
- setPixmap(QWizard::LogoPixmap, QPixmap(":/icons/logo.png").scaled(64, 64));
+ setPixmap(QWizard::LogoPixmap,
+ QPixmap(":/icons/gpgfrontend_logo.png").scaled(64, 64));
int next_page_id = GlobalSettingStation::GetInstance()
.GetSettings()
diff --git a/src/ui/dialog/help/AboutDialog.cpp b/src/ui/dialog/help/AboutDialog.cpp
index b26d9cc2..61b01dfe 100644
--- a/src/ui/dialog/help/AboutDialog.cpp
+++ b/src/ui/dialog/help/AboutDialog.cpp
@@ -78,8 +78,8 @@ InfoTab::InfoTab(QWidget* parent) : QWidget(parent) {
"core", "gpgme.version", QString{"2.0.0"});
GF_UI_LOG_DEBUG("got gpgme version from rt: {}", gpgme_version);
- auto pixmap = QPixmap(":/icons/logo.png");
- pixmap = pixmap.scaled(200, 200);
+ auto pixmap = QPixmap(":/icons/gpgfrontend_logo.png");
+ pixmap = pixmap.scaled(128, 128);
auto text =
"<center><h2>" + qApp->applicationName() + "</h2></center>" +