summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Main.cpp
diff options
context:
space:
mode:
authorAugustin Cavalier <waddlesplash@gmail.com>2014-10-27 13:11:55 -0400
committerAugustin Cavalier <waddlesplash@gmail.com>2014-10-28 14:39:20 -0400
commit5b4b74de6a930e429b83fc065bf421f1076a6fe0 (patch)
tree56d8cadd4d4086603352ba4e4b2a019b01365ace /Source/Core/DolphinQt/Main.cpp
parent32c6848c79a65e91f81e091b7b86560b2d9d405e (diff)
Fix image loading on Retina and other HiDPI displays.
Diffstat (limited to 'Source/Core/DolphinQt/Main.cpp')
-rw-r--r--Source/Core/DolphinQt/Main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Main.cpp b/Source/Core/DolphinQt/Main.cpp
index 9bcea4de27..93d853ad62 100644
--- a/Source/Core/DolphinQt/Main.cpp
+++ b/Source/Core/DolphinQt/Main.cpp
@@ -39,6 +39,7 @@ static QString LowestSupportedOsVersion()
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
+ app.setAttribute(Qt::AA_UseHighDpiPixmaps);
// TODO: Add command line options
UICommon::CreateDirectories();