File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class Process: public PostReloadHook {
102102 // / If the process is already running changing this property will affect the next
103103 // / started process. If the property has been changed after starting a process it will
104104 // / return the new value, not the one for the currently running process.
105- Q_PROPERTY (QHash<QString, QVariant> environment READ environment WRITE setEnvironment NOTIFY environmentChanged);
105+ Q_PROPERTY (QVariantHash environment READ environment WRITE setEnvironment NOTIFY environmentChanged);
106106 // / If the process's environment should be cleared prior to applying @@environment.
107107 // / Defaults to false.
108108 // /
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace qs::io::process {
1313
1414class ProcessContext {
1515 Q_PROPERTY (QList<QString> command MEMBER command WRITE setCommand);
16- Q_PROPERTY (QHash<QString, QVariant> environment MEMBER environment WRITE setEnvironment);
16+ Q_PROPERTY (QVariantHash environment MEMBER environment WRITE setEnvironment);
1717 Q_PROPERTY (bool clearEnvironment MEMBER clearEnvironment WRITE setClearEnvironment);
1818 Q_PROPERTY (QString workingDirectory MEMBER workingDirectory WRITE setWorkingDirectory);
1919 Q_PROPERTY (bool unbindStdout MEMBER unbindStdout WRITE setUnbindStdout);
You can’t perform that action at this time.
0 commit comments