mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	Merge pull request 'Qrcode: save to current directory' (#37) from tobtoht/feather:qrcode_path into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/37
This commit is contained in:
		
						commit
						ad7b278508
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue