aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-16 20:05:31 +0000
committerSaturneric <[email protected]>2021-12-16 20:43:19 +0000
commit1a51a285410b673bc020b5b9e4430a824a4addce (patch)
treeb98edf5da49c25b49f9b9a3b863bc511def99e81 /src/main.cpp
parentFixed Issues on Windows & Reduce warning. (diff)
downloadGpgFrontend-1a51a285410b673bc020b5b9e4430a824a4addce.tar.gz
GpgFrontend-1a51a285410b673bc020b5b9e4430a824a4addce.zip
Fixed bugs & Improve Speed.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c03f072b..10d54958 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -76,7 +76,7 @@ int main(int argc, char* argv[]) {
// unicode in source
QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf-8"));
-#if defined(WINDOWS)
+#if !defined(RELEASE) && defined(WINDOWS)
// css
boost::filesystem::path css_path = GpgFrontend::UI::GlobalSettingStation::GetInstance().GetResourceDir() / "css" / "default.qss";
QFile file(css_path.string().c_str());