aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/apptests.cpp
diff options
context:
space:
mode:
authorJorge Timón <[email protected]>2016-10-13 23:24:21 +0200
committerJorge Timón <[email protected]>2019-09-06 22:13:49 +0200
commit3bf9d8cac09fc88727ef2f2a2bea33b90b625e50 (patch)
tree4dff73a96a9f63c6ff46d3a0f86f961c9acbfc0d /src/qt/test/apptests.cpp
parentTestchains: Generic selection with -chain=<str> in addition of -testnet and -... (diff)
downloaddiscoin-3bf9d8cac09fc88727ef2f2a2bea33b90b625e50.tar.xz
discoin-3bf9d8cac09fc88727ef2f2a2bea33b90b625e50.zip
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 49e9e072a..8ae01ac09 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);