refactor: move settings to their own object

This commit is contained in:
outfoxxed 2024-03-04 01:31:31 -08:00
parent 62f99f5754
commit 4ef4cba4ee
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
8 changed files with 107 additions and 78 deletions

View file

@ -21,8 +21,8 @@ static DisownedProcessContext* disownedCtx; // NOLINT
Process::Process(QObject* parent): QObject(parent) {
QObject::connect(
QuickshellGlobal::instance(),
&QuickshellGlobal::workingDirectoryChanged,
QuickshellSettings::instance(),
&QuickshellSettings::workingDirectoryChanged,
this,
&Process::onGlobalWorkingDirectoryChanged
);