Fix bad empty test.
svn path=/trunk/KDE/kdebase/workspace/; revision=798510
This commit is contained in:
parent
f668280204
commit
c1b759bd10
1 changed files with 2 additions and 1 deletions
|
@ -117,7 +117,7 @@ WobblyWindowsEffect::WobblyWindowsEffect()
|
|||
|
||||
WobblyWindowsEffect::~WobblyWindowsEffect()
|
||||
{
|
||||
if (windows.empty())
|
||||
if (!windows.empty())
|
||||
{
|
||||
// we should be empty at this point...
|
||||
// emit a warning and clean the list.
|
||||
|
@ -129,6 +129,7 @@ WobblyWindowsEffect::~WobblyWindowsEffect()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
void WobblyWindowsEffect::setVelocityThreshold(qreal m_minVelocity)
|
||||
{
|
||||
this->m_minVelocity = m_minVelocity;
|
||||
|
|
Loading…
Reference in a new issue