summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt2/Main.cpp')
-rw-r--r--Source/Core/DolphinQt2/Main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Main.cpp b/Source/Core/DolphinQt2/Main.cpp
index 06fc993aaf..8d58eea54b 100644
--- a/Source/Core/DolphinQt2/Main.cpp
+++ b/Source/Core/DolphinQt2/Main.cpp
@@ -19,6 +19,8 @@
#include "UICommon/CommandLineParse.h"
#include "UICommon/UICommon.h"
+// N.B. On Windows, this should be called from WinMain. Link against qtmain and specify
+// /SubSystem:Windows
int main(int argc, char* argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);