Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 48: [PATCH 48/68] test: align regressions with native build contracts

src/qt/test/apptests.cpp

Before: src/qt/test/apptests.cpp · After: src/qt/test/apptests.cpp

File metadata
index 31b8e34b353fbcd82941d22bd4021773a23a9cb2..87fe2f0b3562e6fccef7543baf415326268cf718 100644

Download original patch · Release notes

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

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/qt/test/apptests.cpp CHANGED
@@ -113,7 +113,7 @@ void TestPeerRefreshState(RPCConsole* console)
113
 
114
  void TestQrQuietZone()
115
  {
116
- #ifdef USE_QRCODE
117
  QRImageWidget qr;
118
  QVERIFY(qr.setQR(QStringLiteral("bitcoin:bc1qz0j5w6w8t8d5alw5lp4n4t3g6d7n7ld5cqqqqq")));
119
  const QImage image{qr.exportImage()};
 
113
 
114
  void TestQrQuietZone()
115
  {
116
+ #if defined(ENABLE_WALLET) && defined(USE_QRCODE)
117
  QRImageWidget qr;
118
  QVERIFY(qr.setQR(QStringLiteral("bitcoin:bc1qz0j5w6w8t8d5alw5lp4n4t3g6d7n7ld5cqqqqq")));
119
  const QImage image{qr.exportImage()};