summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKaiwen Xu <kevin@kevxu.net>2020-06-17 05:45:20 +0200
committerKaiwen Xu <kevin@kevxu.net>2020-06-17 05:45:20 +0200
commit7a59eeb5befbb8bdeb93d27adb6848ef40511644 (patch)
treed0e1e6d5c02fb43a52c63fb4b26710f3a7c8aac6 /src
parentMerge pull request #3976 from Neodyblue/qdarkstyle_fix_prop (diff)
downloadyuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.tar
yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.tar.gz
yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.tar.bz2
yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.tar.lz
yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.tar.xz
yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.tar.zst
yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/bootmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 1f5e43043..7f617d6a7 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -355,7 +355,7 @@ QByteArray GRenderWindow::saveGeometry() {
}
qreal GRenderWindow::windowPixelRatio() const {
- return devicePixelRatio();
+ return devicePixelRatioF();
}
std::pair<u32, u32> GRenderWindow::ScaleTouch(const QPointF& pos) const {