mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-08 20:09:43 +00:00
Qrcode: save to current directory
This commit is contained in:
parent
3f9080332b
commit
7822992837
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ void QrCodeDialog::copyImage() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void QrCodeDialog::saveImage() {
|
void QrCodeDialog::saveImage() {
|
||||||
QString filename = QFileDialog::getSaveFileName(this, "Select where to save file", "qrcode.png");
|
QString filename = QFileDialog::getSaveFileName(this, "Select where to save file", QDir::current().filePath("qrcode.png"));
|
||||||
if (filename.isEmpty()) {
|
if (filename.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue