aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1dbf1d5e..3bd9e8a1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -40,7 +40,10 @@ int main(int argc, char* argv[]) {
// Qt App
QApplication app(argc, argv);
+
+#ifndef MACOS
QApplication::setWindowIcon(QIcon(":gpgfrontend.png"));
+#endif
#ifdef MACOS
// support retina screen
@@ -60,7 +63,7 @@ int main(int argc, char* argv[]) {
// unicode in source
QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf-8"));
-#if !defined(RELEASE)
+#if !defined(RELEASE) && defined(WINDOWS)
// css
QFile file(RESOURCE_DIR(qApp->applicationDirPath()) + "/css/default.qss");
file.open(QFile::ReadOnly);