mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Use workspace to find output
We want the LogicalOutput from workspace(), not the BackendOutput
This commit is contained in:
parent
a46bf048ce
commit
8e8f794f02
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ QString TaskFilterModel::screenName() const
|
|||
|
||||
void TaskFilterModel::setScreenName(const QString &screen)
|
||||
{
|
||||
LogicalOutput *output = kwinApp()->outputBackend()->findOutput(screen);
|
||||
LogicalOutput *output = workspace()->findOutput(screen);
|
||||
if (m_output != output) {
|
||||
m_output = output;
|
||||
Q_EMIT screenNameChanged();
|
||||
|
|
|
|||
Loading…
Reference in a new issue