diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-04-28 15:16:57 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-04-28 15:16:57 -0500 |
| commit | 1b7844ec345033b7809ef69ad941bd8a4a3986fb (patch) | |
| tree | a3f1646f51bc47502f1ee764add39bad9f57f0d0 /src/main | |
| parent | 8f63e8870f6ef859f3f1500653a028aca2278274 (diff) | |
| parent | a99eef68f5e621f78df3b8f54e0b44a6178437f5 (diff) | |
| download | monzero-gui-1b7844ec345033b7809ef69ad941bd8a4a3986fb.tar.gz monzero-gui-1b7844ec345033b7809ef69ad941bd8a4a3986fb.tar.xz monzero-gui-1b7844ec345033b7809ef69ad941bd8a4a3986fb.zip | |
Merge pull request #2854
a99eef6 always use native directory separators in paths (xiphon)
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index 2a64abdd..9de20ce4 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -210,6 +210,7 @@ int main(int argc, char *argv[]) qCritical() << "Error: accounts root directory could not be set"; return 1; } + moneroAccountsDir = QDir::toNativeSeparators(moneroAccountsDir); #if defined(Q_OS_LINUX) if (isDesktop) app.setWindowIcon(QIcon(":/images/appicon.ico")); @@ -241,7 +242,7 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw Monero::Utils::onStartup(); // Log settings - const QString logPath = getLogPath(parser.value(logPathOption)); + const QString logPath = QDir::toNativeSeparators(getLogPath(parser.value(logPathOption))); Monero::Wallet::init(argv[0], "monero-wallet-gui", logPath.toStdString().c_str(), true); qInstallMessageHandler(messageHandler); |
