diff options
| author | Matt Corallo <[email protected]> | 2016-11-29 18:45:24 -0800 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-12-24 11:29:33 -0500 |
| commit | 4cd373aea8d20356727f7d65e0bc818beb6523dc (patch) | |
| tree | 945990959f03be82089270427a7595431459942b /src/qt/bitcoin.cpp | |
| parent | Get rid of mapArgs direct access in ZMQ construction (diff) | |
| download | discoin-4cd373aea8d20356727f7d65e0bc818beb6523dc.tar.xz discoin-4cd373aea8d20356727f7d65e0bc818beb6523dc.zip | |
Un-expose mapArgs from utils.h
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 9d80a3800..36d803ce0 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -604,7 +604,7 @@ int main(int argc, char *argv[]) if (!boost::filesystem::is_directory(GetDataDir(false))) { QMessageBox::critical(0, QObject::tr(PACKAGE_NAME), - QObject::tr("Error: Specified data directory \"%1\" does not exist.").arg(QString::fromStdString(mapArgs["-datadir"]))); + QObject::tr("Error: Specified data directory \"%1\" does not exist.").arg(QString::fromStdString(GetArg("-datadir", "")))); return EXIT_FAILURE; } try { |