aboutsummaryrefslogtreecommitdiff
path: root/src/qt/main.cpp
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2024-04-20 16:49:02 +0200
committerFabian Jahr <fjahr@protonmail.com>2024-04-24 23:23:38 +0200
commit8f39aaae417c33490e0e41fb97620eb23ced3d05 (patch)
tree5e01b20657311dd75815eadfdefb6489eec08149 /src/qt/main.cpp
parent650d43ec15f7a3ae38126f65ef8fa0b1fd3ee936 (diff)
downloadbitcoin-8f39aaae417c33490e0e41fb97620eb23ced3d05.tar.xz
refactor: Remove hooking code for urlDecode
The point of this was to be able to build bitcoin-tx and bitcoin-wallet without libevent, see #18504. Now that we use our own implementation of urlDecode this is not needed anymore. Co-authored-by: stickies-v <stickies-v@protonmail.com>
Diffstat (limited to 'src/qt/main.cpp')
-rw-r--r--src/qt/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qt/main.cpp b/src/qt/main.cpp
index ded057dbfa..16befd99e8 100644
--- a/src/qt/main.cpp
+++ b/src/qt/main.cpp
@@ -4,7 +4,6 @@
#include <qt/bitcoin.h>
-#include <common/url.h>
#include <compat/compat.h>
#include <util/translation.h>
@@ -17,7 +16,6 @@
extern const std::function<std::string(const char*)> G_TRANSLATION_FUN = [](const char* psz) {
return QCoreApplication::translate("bitcoin-core", psz).toStdString();
};
-UrlDecodeFn* const URL_DECODE = urlDecode;
const std::function<std::string()> G_TEST_GET_FULL_NAME{};