Fix bad empty test.

svn path=/trunk/KDE/kdebase/workspace/; revision=798510
This commit is contained in:
Cédric Borgese 2008-04-18 13:06:29 +00:00
parent f668280204
commit c1b759bd10

View file

@ -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;