From 16ae008104b2f5e377cd9509040daf33bf4d26c6 Mon Sep 17 00:00:00 2001 From: Felipe Kinoshita Date: Tue, 20 Apr 2021 19:32:04 +0000 Subject: [PATCH] [effects/presentwindows] change filterFrame position and text Move filterFrame to the top of the screen and change it's text, removing the "Filter: ". --- src/effects/presentwindows/presentwindows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/presentwindows/presentwindows.cpp b/src/effects/presentwindows/presentwindows.cpp index 6efe9f8b8f..d66604a5e4 100644 --- a/src/effects/presentwindows/presentwindows.cpp +++ b/src/effects/presentwindows/presentwindows.cpp @@ -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); } //-----------------------------------------------------------------------------