mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-17 13:02:49 -05:00
Remove "Can't resolve placeholder" warning (#1137)
This commit is contained in:
parent
d99dee9c40
commit
c4bbb76da4
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user