forked from quickshell/quickshell
core/process: ignore environment changes made by the Env pragma
This pragma ends up used to set things like QQC theme which shouldn't be cascaded into child processes.
This commit is contained in:
parent
4a0f6382b0
commit
2773e5468f
5 changed files with 25 additions and 17 deletions
|
@ -1,11 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <qdatetime.h>
|
||||
#include <qprocess.h>
|
||||
|
||||
namespace qs {
|
||||
|
||||
struct Common {
|
||||
static const QDateTime LAUNCH_TIME;
|
||||
static QProcessEnvironment INITIAL_ENVIRONMENT; // NOLINT
|
||||
};
|
||||
|
||||
} // namespace qs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue