[effects/presentwindows] change filterFrame position and text

Move filterFrame to the top of the screen and change it's text,
removing the "Filter: ".
This commit is contained in:
Felipe Kinoshita 2021-04-20 19:32:04 +00:00 committed by Nate Graham
parent 700028b37d
commit 16ae008104

View file

@ -1718,8 +1718,8 @@ void PresentWindowsEffect::updateFilterFrame()
font.setBold(true);
m_filterFrame->setFont(font);
}
m_filterFrame->setPosition(QPoint(area.x() + area.width() / 2, area.y() + area.height() / 2));
m_filterFrame->setText(i18n("Filter:\n%1", m_windowFilter));
m_filterFrame->setPosition(QPoint(area.x() + area.width() / 2, area.y() + area.height() / 10));
m_filterFrame->setText(m_windowFilter);
}
//-----------------------------------------------------------------------------