Fix a couple unused warnings

GIT_SILENT
NO_CHANGELOG
This commit is contained in:
Méven Car 2022-05-10 07:33:30 +02:00
parent e1cec89ddb
commit 1dd12a064a
2 changed files with 4 additions and 0 deletions

View file

@ -370,6 +370,8 @@ void X11StandalonePlatform::startInteractivePositionSelection(std::function<void
void X11StandalonePlatform::setupActionForGlobalAccel(QAction *action)
{
connect(KGlobalAccel::self(), &KGlobalAccel::globalShortcutActiveChanged, kwinApp(), [action](QAction *triggeredAction, bool active) {
Q_UNUSED(active)
if (triggeredAction != action)
return;

View file

@ -782,6 +782,8 @@ void BlurEffect::doBlur(const QRegion &shape, const QRect &screen, const float o
void BlurEffect::upscaleRenderToScreen(GLVertexBuffer *vbo, int vboStart, int blurRectCount, const QMatrix4x4 &screenProjection, QPoint windowPosition)
{
Q_UNUSED(windowPosition)
m_renderTextures[1]->bind();
m_shader->bind(BlurShader::UpSampleType);