summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Agostini <luiz.agostini@openbossa.org>2009-11-16 16:05:15 -0300
committerLuiz Agostini <luiz.agostini@openbossa.org>2009-11-16 19:02:35 -0300
commit84a0a088e961b9490d8969e022d8ad1f5e830f6d (patch)
tree79a6396f2580855195fd57358ce9139b854c5de6
parent961fed7529088f7f320d8437ec5d06dbc58d38e3 (diff)
Weather: list maintainance bug fixing.
Signed-off-by: Luiz Agostini <luiz.agostini@openbossa.org>
-rw-r--r--weather/citylist.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/weather/citylist.cpp b/weather/citylist.cpp
index 63380e8..faccda6 100644
--- a/weather/citylist.cpp
+++ b/weather/citylist.cpp
@@ -220,7 +220,8 @@ void CityListItem::select(bool selected)
void CityListItem::removeFromList()
{
- m_list->removeItem(this);
+ if (!m_list->busy())
+ m_list->removeItem(this);
}
qreal CityListItem::contentHeight() const