[kwin] Mark unused variables as unused
--warnings
This commit is contained in:
parent
a6b12108c9
commit
014cdf9267
2 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,7 @@ void ScreenPreviewWidget::resizeEvent(QResizeEvent *e)
|
|||
|
||||
void ScreenPreviewWidget::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
if (d->monitorRect.size().isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -842,6 +842,7 @@ region_creation:
|
|||
|
||||
void AnimationEffect::_expandedGeometryChanged(KWin::EffectWindow *w, const QRect &old)
|
||||
{
|
||||
Q_UNUSED(old)
|
||||
Q_D(AnimationEffect);
|
||||
AniMap::const_iterator entry = d->m_animations.constFind(w);
|
||||
if (entry != d->m_animations.constEnd()) {
|
||||
|
|
Loading…
Reference in a new issue