aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/apptests.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2020-05-19 15:15:00 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2020-08-12 16:44:09 +0200
commit386ec192a57b76492125d691ceda1b4aa832312e (patch)
tree02338397b2bd70204ccba5ac2406e197f791b172 /src/qt/test/apptests.cpp
parentd42cb790687788c78aa2f0c1988238ab52050782 (diff)
Reduce cs_main lock accumulation during GUI startup
Diffstat (limited to 'src/qt/test/apptests.cpp')
-rw-r--r--src/qt/test/apptests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/test/apptests.cpp b/src/qt/test/apptests.cpp
index b880a99baf..0b5c341548 100644
--- a/src/qt/test/apptests.cpp
+++ b/src/qt/test/apptests.cpp
@@ -67,6 +67,7 @@ void AppTests::appTests()
return GetDataDir() / "blocks";
}());
+ qRegisterMetaType<interfaces::BlockAndHeaderTipInfo>("interfaces::BlockAndHeaderTipInfo");
m_app.parameterSetup();
m_app.createOptionsModel(true /* reset settings */);
QScopedPointer<const NetworkStyle> style(NetworkStyle::instantiate(Params().NetworkIDString()));