[Marble-commits] KDE/kdeedu/marble/src/lib
Dennis Nienhüser
earthwings at gentoo.org
Sat Nov 14 00:25:12 CET 2009
SVN commit 1048810 by nienhueser:
Do not search for the same term more than once in a row. Avoids duplicated result entries and crashes.
CCBUG: 210013
M +3 -0 MarbleRunnerManager.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleRunnerManager.cpp #1048809:1048810
@@ -61,6 +61,9 @@
void MarbleRunnerManager::newText(QString text)
{
+ if (text == m_lastString)
+ return;
+
m_lastString = text;
m_modelMutex.lock();
More information about the Marble-commits
mailing list