aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/apptests.cpp
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2016-10-13 23:24:21 +0200
committerJorge Timón <jtimon@jtimon.cc>2019-09-06 22:13:49 +0200
commit3bf9d8cac09fc88727ef2f2a2bea33b90b625e50 (patch)
tree4dff73a96a9f63c6ff46d3a0f86f961c9acbfc0d /src/qt/test/apptests.cpp
parent052c54ecb02695e5d2694e8e0cbf5ccc89de86e8 (diff)
Testchains: Qt: Simplify network/chain styles
Diffstat (limited to 'src/qt/test/apptests.cpp')
-rw-r--r--src/qt/test/apptests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/test/apptests.cpp b/src/qt/test/apptests.cpp
index 49e9e072a8..8ae01ac093 100644
--- a/src/qt/test/apptests.cpp
+++ b/src/qt/test/apptests.cpp
@@ -68,8 +68,7 @@ void AppTests::appTests()
m_app.parameterSetup();
m_app.createOptionsModel(true /* reset settings */);
- QScopedPointer<const NetworkStyle> style(
- NetworkStyle::instantiate(QString::fromStdString(Params().NetworkIDString())));
+ QScopedPointer<const NetworkStyle> style(NetworkStyle::instantiate(Params().NetworkIDString()));
m_app.setupPlatformStyle();
m_app.createWindow(style.data());
connect(&m_app, &BitcoinApplication::windowShown, this, &AppTests::guiTests);