┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2023-11-20 14:16:18 +0100
committerKai Uwe Broulik <[email protected]>2023-11-21 13:53:54 +0100
commitecd3675aaa55b8224f1fa81b031471d834a18fad (patch)
tree11722acc75ab4f5c2a345b0b7880c24957d3ee2d /src/CMakeLists.txt
parent26adfe689a70af60933809c6106723ff5962b67e (diff)
views: Use scene devicePixelRatio rather than qApp
When possible, use the devicePixelRatio from the scene which on Wayland unlike the QApplication will properly support fractional scaling. A KItemViewsUtils class is introduced that can be reused elsewhere.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8eb5a0e9f..5d04cbabe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -83,6 +83,7 @@ target_sources(dolphinprivate PRIVATE
kitemviews/private/kitemlistsmoothscroller.cpp
kitemviews/private/kitemlistviewanimation.cpp
kitemviews/private/kitemlistviewlayouter.cpp
+ kitemviews/private/kitemviewsutils.cpp
kitemviews/private/kpixmapmodifier.cpp
settings/applyviewpropsjob.cpp
settings/viewmodes/viewmodesettings.cpp