Remove unused variables

This commit is contained in:
Aleix Pol 2021-05-13 18:45:28 +02:00
parent 4b3cc58073
commit 5b5ef7f07e
2 changed files with 0 additions and 3 deletions

View file

@ -357,8 +357,6 @@ void ContrastEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& data, s
return;
}
const QRegion oldPaint = data.paint;
// we don't have to blur a region we don't see
m_currentContrast -= data.clip;
// if we have to paint a non-opaque part of this window that intersects with the

View file

@ -250,7 +250,6 @@ void KWinTabBoxConfigForm::loadShortcuts()
void KWinTabBoxConfigForm::resetShortcuts()
{
QString action;
auto resetShortcut = [this](KKeySequenceWidget *widget, const QKeySequence &sequence = QKeySequence()) {
const QString action = widget->property("shortcutAction").toString();
QAction *a = m_actionCollection->action(action);