mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-12 21:40:54 -04:00
Remove "Can't resolve placeholder" warning (#1137)
This commit is contained in:
parent
d99dee9c40
commit
c4bbb76da4
1 changed files with 0 additions and 5 deletions
|
@ -751,12 +751,7 @@ QString Entry::resolvePlaceholderRecursive(const QString& placeholder, int maxDe
|
||||||
const PlaceholderType typeOfPlaceholder = placeholderType(placeholder);
|
const PlaceholderType typeOfPlaceholder = placeholderType(placeholder);
|
||||||
switch (typeOfPlaceholder) {
|
switch (typeOfPlaceholder) {
|
||||||
case PlaceholderType::NotPlaceholder:
|
case PlaceholderType::NotPlaceholder:
|
||||||
return placeholder;
|
|
||||||
case PlaceholderType::Unknown:
|
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;
|
return placeholder;
|
||||||
case PlaceholderType::Title:
|
case PlaceholderType::Title:
|
||||||
return title();
|
return title();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue