MCPcopy Create free account
hub / github.com/LUX-Core/lux / saveImage

Method saveImage

src/qt/receiverequestdialog.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void QRImageWidget::saveImage()
66{
67 if (!pixmap())
68 return;
69 QString fn = GUIUtil::getSaveFileName(this, tr("Save QR Code"), QString(), tr("PNG Image (*.png)"), NULL);
70 if (!fn.isEmpty()) {
71 exportImage().save(fn);
72 }
73}
74
75void QRImageWidget::copyImage()
76{

Callers

nothing calls this directly

Calls 4

pixmapFunction · 0.85
getSaveFileNameFunction · 0.85
isEmptyMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected