Compositor: connect to configChanged emitted by Options instead of Workspace
Removes dependency to Workspace in ctor.
This commit is contained in:
parent
147af71f8a
commit
58d79e2da4
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ Compositor::Compositor(QObject* workspace)
|
|||
qRegisterMetaType<Compositor::SuspendReason>("Compositor::SuspendReason");
|
||||
connect(&unredirectTimer, SIGNAL(timeout()), SLOT(delayedCheckUnredirect()));
|
||||
connect(&compositeResetTimer, SIGNAL(timeout()), SLOT(restart()));
|
||||
connect(workspace, SIGNAL(configChanged()), SLOT(slotConfigChanged()));
|
||||
connect(options, &Options::configChanged, this, &Compositor::slotConfigChanged);
|
||||
connect(options, SIGNAL(unredirectFullscreenChanged()), SLOT(delayedCheckUnredirect()));
|
||||
unredirectTimer.setSingleShot(true);
|
||||
compositeResetTimer.setSingleShot(true);
|
||||
|
|
Loading…
Reference in a new issue