Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoin.cpp
Show First 20 Lines • Show All 621 Lines • ▼ Show 20 Lines | if (!legacyKeys.isEmpty() && abc.allKeys().isEmpty()) { | ||||
for (const QString &key : legacyKeys) { | for (const QString &key : legacyKeys) { | ||||
// now, copy settings over | // now, copy settings over | ||||
abc.setValue(key, legacy.value(key)); | abc.setValue(key, legacy.value(key)); | ||||
} | } | ||||
} | } | ||||
} | } | ||||
int main(int argc, char *argv[]) { | int main(int argc, char *argv[]) { | ||||
#ifdef WIN32 | |||||
util::WinCmdLineArgs winArgs; | |||||
std::tie(argc, argv) = winArgs.get(); | |||||
#endif | |||||
SetupEnvironment(); | SetupEnvironment(); | ||||
std::unique_ptr<interfaces::Node> node = interfaces::MakeNode(); | std::unique_ptr<interfaces::Node> node = interfaces::MakeNode(); | ||||
// Do not refer to data directory yet, this can be overridden by | // Do not refer to data directory yet, this can be overridden by | ||||
// Intro::pickDataDirectory | // Intro::pickDataDirectory | ||||
/// 1. Basic Qt initialization (not dependent on parameters or | /// 1. Basic Qt initialization (not dependent on parameters or | ||||
▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines |