aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-09 14:46:01 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-10 18:01:28 +0300
commitda16f95c3fecf4ee1e9a1dc4333b0b92cd981afd (patch)
treeabf2a7768f51cee5b3e04ce572a21b4e29f64f22 /src/ui_interface.cpp
parent4c9b9a4882e68835f16a52f1f0657efe47e589b5 (diff)
downloadbitcoin-da16f95c3fecf4ee1e9a1dc4333b0b92cd981afd.tar.xz
gui: Do not translate InitWarning messages in debug.log
Diffstat (limited to 'src/ui_interface.cpp')
-rw-r--r--src/ui_interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui_interface.cpp b/src/ui_interface.cpp
index 9cfde9502d..bb41154afc 100644
--- a/src/ui_interface.cpp
+++ b/src/ui_interface.cpp
@@ -59,7 +59,7 @@ bool InitError(const bilingual_str& str)
return false;
}
-void InitWarning(const std::string& str)
+void InitWarning(const bilingual_str& str)
{
- uiInterface.ThreadSafeMessageBox(Untranslated(str), "", CClientUIInterface::MSG_WARNING);
+ uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_WARNING);
}