mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-25 10:18:33 +01:00
WalletInfoDialog: fix open wallet dir on windows
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user