aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-08-25 09:08:22 +0000
committerSaturneric <[email protected]>2021-08-25 09:08:22 +0000
commit156ee9fb74afdbda89afb0ec580aacd75ef869df (patch)
tree28fe92ffec2d5608b5e6af665ec3b8f06922364a /src/main.cpp
parentFix a discovered problem. (diff)
downloadGpgFrontend-156ee9fb74afdbda89afb0ec580aacd75ef869df.tar.gz
GpgFrontend-156ee9fb74afdbda89afb0ec580aacd75ef869df.zip
Update Documents.
Fix Some Bugs.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1e54d6e7..1ec264e7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -43,8 +43,8 @@ int main(int argc, char *argv[]) {
// unicode in source
QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf-8"));
-#ifdef WINDOWS
- // css
+#if OS_PLATFORM == WINDOWS
+ // load css file
QFile file(RESOURCE_DIR(qApp->applicationDirPath()) + "/css/default.qss");
file.open(QFile::ReadOnly);
QString styleSheet = QLatin1String(file.readAll());