remove some unecessary code
svn path=/trunk/KDE/kdelibs/; revision=958271
This commit is contained in:
parent
718c24af43
commit
44502959b8
@ -137,14 +137,12 @@ void WindowPreview::readWindowSizes() const
|
||||
|
||||
bool WindowPreview::isEmpty() const
|
||||
{
|
||||
if (ids.size() == 0) {
|
||||
return true;
|
||||
}
|
||||
foreach (WId id, ids) {
|
||||
if (id != 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user