diff options
author | Saturneric <[email protected]> | 2021-12-12 09:36:08 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-12 09:36:08 +0000 |
commit | e3792543f6d8b8dd8b0af78194967cc70448873f (patch) | |
tree | 7b078a5b437576e8021c2bb90a570c3f1969fbfe /src/main.cpp | |
parent | Add Support For UI Header include Path (diff) | |
download | GpgFrontend-e3792543f6d8b8dd8b0af78194967cc70448873f.tar.gz GpgFrontend-e3792543f6d8b8dd8b0af78194967cc70448873f.zip |
Fixed & Modified & Added.
1. Fixed UTF-16 & UTF-8 filesystem path's bugs.
2. Added mkdir & create empty file.
3. Improve file browser.
4. Added Infoboard.ui.
5. Fixed Verify Bugs.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
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); |