Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 8: [PATCH 08/17] chore(roots): integrate v31 identity and maintenance tooling

src/qt/qrimagewidget.h

Before: src/qt/qrimagewidget.h · After: src/qt/qrimagewidget.h

File metadata
index 844a6e031ab16dd48ec6f913c2c488fd768ac77a..e76c3a08ef229db37dd5e4260096238efe7dd125 100644

Download original patch · Release notes

Diff rows 1–15 of 15. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/qt/qrimagewidget.h CHANGED
@@ -8,6 +8,8 @@
8
8
  #include <QImage>
9
9
  #include <QLabel>
10
10
 
11
+ class QFont;
12
+
11
13
  /* Maximum allowed URI length */
12
14
  static const int MAX_URI_LENGTH = 255;
13
15
 
@@ -30,6 +32,7 @@ class QRImageWidget : public QLabel
30
32
  public:
31
33
  explicit QRImageWidget(QWidget *parent = nullptr);
32
34
  bool setQR(const QString& data, const QString& text = "");
35
+ bool setQR(const QString& data, const QString& text, const QFont& font);
33
36
  QImage exportImage();
34
37
 
35
38
  public Q_SLOTS: