mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
WalletInfoDialog: fix open wallet dir on windows
This commit is contained in:
parent
4ceea602fe
commit
96928f1a74
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@ WalletInfoDialog::WalletInfoDialog(QSharedPointer<AppContext> ctx, QWidget *pare
|
|||
|
||||
void WalletInfoDialog::openWalletDir() {
|
||||
QFileInfo file(m_ctx->wallet->keysPath());
|
||||
|
||||
QDesktopServices::openUrl(QUrl(QString("file://%1").arg(file.absolutePath()), QUrl::TolerantMode));
|
||||
QDesktopServices::openUrl(QUrl::fromLocalFile(file.absolutePath()));
|
||||
}
|
||||
|
||||
WalletInfoDialog::~WalletInfoDialog() = default;
|
Loading…
Reference in a new issue