diff --git a/src/qt/dash.cpp b/src/qt/dash.cpp index 74708ef331f7..6098bc822777 100644 --- a/src/qt/dash.cpp +++ b/src/qt/dash.cpp @@ -655,7 +655,7 @@ int main(int argc, char *argv[]) QScopedPointer networkStyle(NetworkStyle::instantiate(QString::fromStdString(Params().NetworkIDString()))); assert(!networkStyle.isNull()); // Allow for separate UI settings for testnets - QApplication::setApplicationName(networkStyle->getAppName()); + // QApplication::setApplicationName(networkStyle->getAppName()); // moved to NetworkStyle::NetworkStyle // Re-initialize translations after changing application name (language in network-specific settings can be different) initTranslations(qtTranslatorBase, qtTranslator, translatorBase, translator); diff --git a/src/qt/networkstyle.cpp b/src/qt/networkstyle.cpp index beda3f3486f4..a4b70d1f9f38 100644 --- a/src/qt/networkstyle.cpp +++ b/src/qt/networkstyle.cpp @@ -62,6 +62,9 @@ NetworkStyle::NetworkStyle(const QString &appName, const int iconColorHueShift, appName(appName), titleAddText(qApp->translate("SplashScreen", titleAddText)) { + // Allow for separate UI settings for testnets + QApplication::setApplicationName(appName); + // Grab theme from settings QString theme = GUIUtil::getThemeName(); // load pixmap QPixmap appIconPixmap(":/icons/bitcoin");