Remove unnecessary settings
This commit is contained in:
@@ -150,11 +150,6 @@ public:
|
||||
parser.setApplicationDescription("Shielded desktop light wallet for Zcash");
|
||||
parser.addHelpOption();
|
||||
|
||||
// Add an option to specify the conf file
|
||||
QCommandLineOption confOption(QStringList() << "conf", "Use the zcash.conf specified instead of looking for the default one.",
|
||||
"confFile");
|
||||
parser.addOption(confOption);
|
||||
|
||||
// Positional argument will specify a zcash payment URI
|
||||
parser.addPositionalArgument("zcashURI", "An optional zcash URI to pay");
|
||||
|
||||
@@ -208,10 +203,6 @@ public:
|
||||
|
||||
Settings::getInstance()->setUseEmbedded(false);
|
||||
|
||||
// Check to see if a conf location was specified
|
||||
if (parser.isSet(confOption)) {
|
||||
Settings::getInstance()->setUsingZcashConf(parser.value(confOption));
|
||||
}
|
||||
|
||||
w = new MainWindow();
|
||||
w->setWindowTitle("Zecwallet Lightclient v" + QString(APP_VERSION));
|
||||
|
||||
Reference in New Issue
Block a user