Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoin.cpp
Show First 20 Lines • Show All 692 Lines • ▼ Show 20 Lines | #endif | ||||
QApplication::setOrganizationDomain(QAPP_ORG_DOMAIN); | QApplication::setOrganizationDomain(QAPP_ORG_DOMAIN); | ||||
QApplication::setApplicationName(QAPP_APP_NAME_DEFAULT); | QApplication::setApplicationName(QAPP_APP_NAME_DEFAULT); | ||||
// Migrate settings from core's/our old GUI settings to Bitcoin ABC | // Migrate settings from core's/our old GUI settings to Bitcoin ABC | ||||
// only if core's exist but Bitcoin ABC's doesn't. | // only if core's exist but Bitcoin ABC's doesn't. | ||||
// NOTE -- this function needs to be called *after* the above 3 lines | // NOTE -- this function needs to be called *after* the above 3 lines | ||||
// that set the app orgname and app name! If you move the above 3 lines | // that set the app orgname and app name! If you move the above 3 lines | ||||
// to elsewhere, take this call with you! | // to elsewhere, take this call with you! | ||||
MigrateSettings(); | MigrateSettings(); | ||||
GUIUtil::SubstituteFonts(GetLangTerritory()); | |||||
/// 4. Initialization of translations, so that intro dialog is in user's | /// 4. Initialization of translations, so that intro dialog is in user's | ||||
/// language. Now that QSettings are accessible, initialize translations. | /// language. Now that QSettings are accessible, initialize translations. | ||||
QTranslator qtTranslatorBase, qtTranslator, translatorBase, translator; | QTranslator qtTranslatorBase, qtTranslator, translatorBase, translator; | ||||
initTranslations(qtTranslatorBase, qtTranslator, translatorBase, | initTranslations(qtTranslatorBase, qtTranslator, translatorBase, | ||||
translator); | translator); | ||||
translationInterface.Translate.connect(Translate); | translationInterface.Translate.connect(Translate); | ||||
▲ Show 20 Lines • Show All 149 Lines • Show Last 20 Lines |