Commit 68138cc0 authored by Laurent Montel's avatar Laurent Montel 😁

not necessary now

parent 916155f0
......@@ -20,7 +20,6 @@
#include "quicksearchline.h"
#include "messagelistsettings.h"
#include <kcoreaddons_version.h>
#include <KStringHandler>
#include <Akonadi/KMime/MessageStatus>
......@@ -87,11 +86,7 @@ void QuickSearchLine::slotSearchEditTextEdited(const QString &text)
minimumStringLength = 5;
}
if (!text.trimmed().isEmpty()) {
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(5, 41, 0)
if (text.length() >= minimumStringLength) {
#else
if (KStringHandler::logicalLength(text) > minimumStringLength) {
#endif
Q_EMIT searchEditTextEdited(text);
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment