diff options
author | saturneric <[email protected]> | 2024-02-25 11:27:57 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-02-25 11:27:57 +0000 |
commit | 94819b52a9a6b8426880f2ceb86cc6b32c518101 (patch) | |
tree | 8a742e44db4395a2a93e1d8f69349b8e8f9c38e3 /src/ui/GpgFrontendApplication.cpp | |
parent | fix: unify app icons (diff) | |
download | GpgFrontend-94819b52a9a6b8426880f2ceb86cc6b32c518101.tar.gz GpgFrontend-94819b52a9a6b8426880f2ceb86cc6b32c518101.zip |
fix: improve icons and logo style
Diffstat (limited to '')
-rw-r--r-- | src/ui/GpgFrontendApplication.cpp | 5 |
1 files changed, 3 insertions, 2 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 |