Dialogs: move destructor to bottom

This commit is contained in:
tobtoht
2021-06-27 14:25:10 +02:00
parent 6921d7b1a7
commit 482ad9cd7e
6 changed files with 16 additions and 17 deletions
+3 -3
View File
@@ -27,10 +27,10 @@ WalletInfoDialog::WalletInfoDialog(QSharedPointer<AppContext> ctx, QWidget *pare
this->adjustSize();
}
WalletInfoDialog::~WalletInfoDialog() = default;
void WalletInfoDialog::openWalletDir() {
QFileInfo file(m_ctx->wallet->keysPath());
QDesktopServices::openUrl(QUrl(QString("file://%1").arg(file.absolutePath()), QUrl::TolerantMode));
}
}
WalletInfoDialog::~WalletInfoDialog() = default;