diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-06 00:24:54 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-06 00:24:54 +1000 |
| commit | cfc1dc447c8bf6306de74d1fb1dba7943a1e1232 (patch) | |
| tree | 3c3fa2f649635a071173032f01c647af9a80b0f2 /plugin/src/Caelestia/cachingimagemanager.cpp | |
| parent | nix: fix package name typo (#567) (diff) | |
| download | caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.tar.gz caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.tar.bz2 caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.zip | |
plugin: namespace everything
Diffstat (limited to 'plugin/src/Caelestia/cachingimagemanager.cpp')
| -rw-r--r-- | plugin/src/Caelestia/cachingimagemanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/src/Caelestia/cachingimagemanager.cpp b/plugin/src/Caelestia/cachingimagemanager.cpp index 93e1972..f50e8a2 100644 --- a/plugin/src/Caelestia/cachingimagemanager.cpp +++ b/plugin/src/Caelestia/cachingimagemanager.cpp @@ -12,6 +12,8 @@ #include <QtQuick/QQuickItem> #include <QtQuick/QQuickWindow> +namespace caelestia { + qreal CachingImageManager::effectiveScale() const { if (m_item && m_item->window()) { return m_item->window()->devicePixelRatio(); @@ -220,3 +222,5 @@ QString CachingImageManager::sha256sum(const QString& path) { return hash.result().toHex(); } + +} // namespace caelestia |