Skip to content

Commit 7eff415

Browse files
committed
core/qmlglobal: re-add shellRoot as a deprecated property
1 parent 3cc7ced commit 7eff415

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qmlglobal.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ class QuickshellGlobal: public QObject {
109109
/// The root directory is the folder containing the entrypoint to your shell, often referred
110110
/// to as `shell.qml`.
111111
Q_PROPERTY(QString configDir READ configDir CONSTANT);
112+
/// > [!WARNING] Deprecated: Returns @@configDir.
113+
Q_PROPERTY(QString shellRoot READ configDir CONSTANT);
112114
/// Quickshell's working directory. Defaults to whereever quickshell was launched from.
113115
Q_PROPERTY(QString workingDirectory READ workingDirectory WRITE setWorkingDirectory NOTIFY workingDirectoryChanged);
114116
/// If true then the configuration will be reloaded whenever any files change.

0 commit comments

Comments
 (0)