mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Show "Can't resolve placeholder" warning only in debug mode
This commit is contained in:
parent
fb6636d182
commit
8c7ef64fab
@ -730,8 +730,10 @@ QString Entry::resolvePlaceholderRecursive(const QString &placeholder, int maxDe
|
||||
case PlaceholderType::NotPlaceholder:
|
||||
return placeholder;
|
||||
case PlaceholderType::Unknown:
|
||||
qWarning("Can't resolve placeholder %s for entry with uuid %s", qPrintable(placeholder),
|
||||
qPrintable(uuid().toHex()));
|
||||
#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…
Reference in New Issue
Block a user