From 1bf40b70a0a95cd8eb326468898f33c13e923275 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Mon, 15 Jan 2024 23:08:50 +0100 Subject: [PATCH] mark Paths.isPortable as deprecated --- src/singletons/Paths.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/singletons/Paths.hpp b/src/singletons/Paths.hpp index a939b8c33..0fdad8349 100644 --- a/src/singletons/Paths.hpp +++ b/src/singletons/Paths.hpp @@ -42,7 +42,8 @@ public: QString themesDirectory; bool createFolder(const QString &folderPath); - bool isPortable() const; + [[deprecated("use Modes::instance().portable instead")]] bool isPortable() + const; QString cacheDirectory() const;