Commit 1dd12a06 authored by Méven Car's avatar Méven Car
Browse files

Fix a couple unused warnings

GIT_SILENT
NO_CHANGELOG
parent e1cec89d
Pipeline #174227 passed with stage
in 12 minutes and 15 seconds
......@@ -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;
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment