diff options
author | Saturneric <[email protected]> | 2021-08-15 15:00:19 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-08-15 15:00:19 +0000 |
commit | 805f8b2f36007317a750cf6aecb633ad6ad2d4e4 (patch) | |
tree | 830b8c558dcb162c49d8609685e5c152a15afcfc /src/main.cpp | |
parent | Beautify UI; Improve Functions; (diff) | |
download | GpgFrontend-805f8b2f36007317a750cf6aecb633ad6ad2d4e4.tar.gz GpgFrontend-805f8b2f36007317a750cf6aecb633ad6ad2d4e4.zip |
Bugs Fixed; Improve Functions;
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index ff3b0bb4..1e54d6e7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,12 +43,14 @@ int main(int argc, char *argv[]) { // unicode in source QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf-8")); +#ifdef WINDOWS // css QFile file(RESOURCE_DIR(qApp->applicationDirPath()) + "/css/default.qss"); file.open(QFile::ReadOnly); QString styleSheet = QLatin1String(file.readAll()); qApp->setStyleSheet(styleSheet); file.close(); +#endif /** * internationalisation. loop to restart mainwindow |