aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-11-29 04:43:00 +0000
committerSaturneric <[email protected]>2021-11-29 04:47:06 +0000
commit839878e0a2c5dff8ed9d9422aaeebeee0e5ba964 (patch)
tree2b93ba3943053871ba39fd1b80966521bd77b4e8 /src/main.cpp
parentFix Known Bugs. (diff)
downloadGpgFrontend-839878e0a2c5dff8ed9d9422aaeebeee0e5ba964.tar.gz
GpgFrontend-839878e0a2c5dff8ed9d9422aaeebeee0e5ba964.zip
Solve uid management, related update and other known issues.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 71e517da..36f549a9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -29,7 +29,6 @@
INITIALIZE_EASYLOGGINGPP
int main(int argc, char* argv[]) {
-
el::Loggers::addFlag(el::LoggingFlag::AutoSpacing);
Q_INIT_RESOURCE(gpgfrontend);
@@ -48,7 +47,7 @@ int main(int argc, char* argv[]) {
// unicode in source
QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf-8"));
-#ifdef WINDOWS
+#if (OS_PLATFORM == WINDOWS)
// css
QFile file(RESOURCE_DIR(qApp->applicationDirPath()) + "/css/default.qss");
file.open(QFile::ReadOnly);