Remove unused variables

master
Aleix Pol 3 years ago
parent 4b3cc58073
commit 5b5ef7f07e

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

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

Loading…
Cancel
Save