WalletInfoDialog: fix open wallet directory on macOS

This commit is contained in:
tobtoht 2020-11-24 21:02:22 +01:00
parent 03f484c2ae
commit 01966df866

View file

@ -31,7 +31,7 @@ WalletInfoDialog::WalletInfoDialog(AppContext *ctx, QWidget *parent)
void WalletInfoDialog::openWalletDir() {
QFileInfo file(m_ctx->walletPath);
QDesktopServices::openUrl(file.absolutePath());
QDesktopServices::openUrl(QUrl(QString("file://%1").arg(file.absolutePath()), QUrl::TolerantMode));
}
WalletInfoDialog::~WalletInfoDialog() {