Fix a couple unused warnings
GIT_SILENT NO_CHANGELOG
This commit is contained in:
parent
e1cec89ddb
commit
1dd12a064a
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue