changed number of fingerprint scans
minor parameter changes more log lines added VAP log to UI (debug) fixed missing wifi timestamp for android live data
This commit is contained in:
@@ -11,7 +11,7 @@ class LoggerUI : public Logger {
|
||||
private:
|
||||
|
||||
InfoWidget* iw;
|
||||
|
||||
const int numLines = 5;
|
||||
std::vector<QString> lines;
|
||||
|
||||
public:
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
void add(const std::string& str, const bool nl) override {
|
||||
lines.back() += QString(str.c_str());
|
||||
if (nl) {lines.push_back("");}
|
||||
while(lines.size() > 4) {lines.erase(lines.begin());}
|
||||
while(lines.size() > numLines) {lines.erase(lines.begin());}
|
||||
QString qs = getStr();
|
||||
QMetaObject::invokeMethod(iw, "showLog", Qt::QueuedConnection, Q_ARG(const QString&, qs));
|
||||
QApplication::processEvents();
|
||||
|
||||
Reference in New Issue
Block a user