Skip to content

Commit 846db42

Browse files
committed
#2786 debug-info: show botan build flag
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent 52338f7 commit 846db42

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- The _Split note at cursor position_ action now has a confirmation dialog to
66
prevent accidental splits (for [#3293](https://github.com/pbek/QOwnNotes/issues/3293))
7+
- In the _Debug settings_, there now is a line to show whether the system Botan library
8+
is used or the internal Botan amalgamation (for [#2786](https://github.com/pbek/QOwnNotes/issues/2786))
79

810
## 25.6.2
911

src/utils/misc.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,14 @@ QString Utils::Misc::generateDebugInformation(bool withGitHubLineBreaks) {
16141614

16151615
output += prepareDebugInformationLine(QStringLiteral("Qt Debug"), debug, withGitHubLineBreaks);
16161616

1617+
QString systemBotan = QStringLiteral("no");
1618+
#ifdef USE_SYSTEM_BOTAN
1619+
systemBotan = QStringLiteral("yes");
1620+
#endif
1621+
1622+
output += prepareDebugInformationLine(QStringLiteral("System Botan"), systemBotan,
1623+
withGitHubLineBreaks);
1624+
16171625
output += prepareDebugInformationLine(QStringLiteral("Locale (system)"),
16181626
QLocale::system().name(), withGitHubLineBreaks);
16191627
output += prepareDebugInformationLine(

0 commit comments

Comments
 (0)