forked from quickshell/quickshell
		
	core/qmlglobal: re-add shellRoot as a deprecated property
This commit is contained in:
		
							parent
							
								
									3cc7ced3a0
								
							
						
					
					
						commit
						7eff415b25
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -109,6 +109,8 @@ class QuickshellGlobal: public QObject {
 | 
				
			||||||
	/// The root directory is the folder containing the entrypoint to your shell, often referred
 | 
						/// The root directory is the folder containing the entrypoint to your shell, often referred
 | 
				
			||||||
	/// to as `shell.qml`.
 | 
						/// to as `shell.qml`.
 | 
				
			||||||
	Q_PROPERTY(QString configDir READ configDir CONSTANT);
 | 
						Q_PROPERTY(QString configDir READ configDir CONSTANT);
 | 
				
			||||||
 | 
						/// > [!WARNING] Deprecated: Returns @@configDir.
 | 
				
			||||||
 | 
						Q_PROPERTY(QString shellRoot READ configDir CONSTANT);
 | 
				
			||||||
	/// Quickshell's working directory. Defaults to whereever quickshell was launched from.
 | 
						/// Quickshell's working directory. Defaults to whereever quickshell was launched from.
 | 
				
			||||||
	Q_PROPERTY(QString workingDirectory READ workingDirectory WRITE setWorkingDirectory NOTIFY workingDirectoryChanged);
 | 
						Q_PROPERTY(QString workingDirectory READ workingDirectory WRITE setWorkingDirectory NOTIFY workingDirectoryChanged);
 | 
				
			||||||
	/// If true then the configuration will be reloaded whenever any files change.
 | 
						/// If true then the configuration will be reloaded whenever any files change.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue