Fix YACReaderLibraryServer compilation

This commit is contained in:
Luis Ángel San Martín Rodríguez
2026-02-20 10:06:11 +01:00
parent 4218752c09
commit 1a6cd06915
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
#include "libraries_updater.h" #include "libraries_updater.h"
#include "yacreader_global.h"
#include "yacreader_libraries.h" #include "yacreader_libraries.h"
#include "data_base_management.h" #include "data_base_management.h"

View File

@ -487,9 +487,9 @@ void printServerInfo(YACReaderHttpServer *httpServer)
for (int x = -border - 1; x < code.getSize() + border + 1; x++) { for (int x = -border - 1; x < code.getSize() + border + 1; x++) {
QRCodeString.append((code.getModule(x, y) && code.getModule(x, y + 1)) QRCodeString.append((code.getModule(x, y) && code.getModule(x, y + 1))
? " " ? " "
: code.getModule(x, y + 1) ? u8"\u2580" : code.getModule(x, y + 1) ? "\u2580"
: code.getModule(x, y) ? u8"\u2584" : code.getModule(x, y) ? "\u2584"
: u8"\u2588"); : "\u2588");
} }
QLOG_INFO() << QRCodeString; QLOG_INFO() << QRCodeString;
} }