mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 10:22:58 -05:00
Fix YACReaderLibraryServer compilation
This commit is contained in:
@ -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"
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user