Changeset View
Changeset View
Standalone View
Standalone View
plugins/quickopen/quickopenwidget.cpp
Context not available. | |||||
331 | 331 | | |||
---|---|---|---|---|---|
332 | void QuickOpenWidget::textChanged(const QString& str) | 332 | void QuickOpenWidget::textChanged(const QString& str) | ||
333 | { | 333 | { | ||
334 | QString strTrimmed = str.trimmed(); | ||||
335 | | ||||
334 | // "cheap" when something was just appended to the current filter | 336 | // "cheap" when something was just appended to the current filter | ||
335 | updateTimerInterval(str.startsWith(m_filter)); | 337 | updateTimerInterval(strTrimmed.startsWith(m_filter)); | ||
336 | m_filter = str; | 338 | m_filter = strTrimmed; | ||
337 | m_filterTimer.start(); | 339 | m_filterTimer.start(); | ||
338 | } | 340 | } | ||
339 | 341 | | |||
Context not available. |