From c4bbb76da4bcb4ee9b0c3c70967aabeb59f6a198 Mon Sep 17 00:00:00 2001 From: frostasm Date: Mon, 20 Nov 2017 09:45:26 +0200 Subject: [PATCH] Remove "Can't resolve placeholder" warning (#1137) --- src/core/Entry.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp index 11ae97d71..6169c1093 100644 --- a/src/core/Entry.cpp +++ b/src/core/Entry.cpp @@ -751,12 +751,7 @@ QString Entry::resolvePlaceholderRecursive(const QString& placeholder, int maxDe const PlaceholderType typeOfPlaceholder = placeholderType(placeholder); switch (typeOfPlaceholder) { case PlaceholderType::NotPlaceholder: - return placeholder; case PlaceholderType::Unknown: -#ifdef QT_DEBUG - qWarning("Can't resolve placeholder \"%s\" for entry with title: \"%s\" (uuid \"%s\") ", - qPrintable(placeholder), qPrintable(title()), qPrintable(uuid().toHex())); -#endif return placeholder; case PlaceholderType::Title: return title();