diff options
| author | xiphon <xiphon@protonmail.com> | 2020-04-24 00:43:40 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-04-24 00:43:40 +0000 |
| commit | a99eef68f5e621f78df3b8f54e0b44a6178437f5 (patch) | |
| tree | 567dcf5abb47fb1e2b28ec620de2a4199e42b5aa /src/main | |
| parent | 585fb2810dc0d9b79255b9bd479559b36aa087d8 (diff) | |
| download | monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.tar.gz monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.tar.xz monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.zip | |
always use native directory separators in paths
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); |
