From 90c1b1abb7b475f4250bfa400f311e570ae0a47a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 16 May 2022 16:10:56 +0200 Subject: Remove debug spam --- src/cardwidget.cc | 8 ++++---- src/helper.cc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cardwidget.cc b/src/cardwidget.cc index f401691..5755d46 100644 --- a/src/cardwidget.cc +++ b/src/cardwidget.cc @@ -105,15 +105,15 @@ QString ProfileGroup::getProfileName() { return name; // TODO QHash counts; - qDebug() << "Entries" << this; + //qDebug() << "Entries" << this; for (auto n : entries) { - qDebug() << n.tokens; + //qDebug() << n.tokens; QSet tmp = n.tokens.toSet(); //(n.tokens.begin(), n.tokens.end()); for (auto t : tmp) { counts[t]++; } } - qDebug() << counts; + //qDebug() << counts; QSet todo = counts.keys().toSet(); for (auto &pe : entries) { QMutableListIterator it(pe.tokens); @@ -137,7 +137,7 @@ void ProfileGroup::addEntry(const char *id, const char *name) { auto *pe = new ProfileEntry; bool paren = false; const char *pos = name, *tokenStart = name; - qDebug() << name << "is" << id; + //qDebug() << name << "is" << id; while (*pos != '\0') { if (!paren && isspace(*pos)) { if (pos > tokenStart) { diff --git a/src/helper.cc b/src/helper.cc index ffadbe9..fac1bb9 100644 --- a/src/helper.cc +++ b/src/helper.cc @@ -65,7 +65,7 @@ void groupProfiles(const std::set parseId.append(p); } } - qDebug() << "ParseID:" << parseId; + //qDebug() << "ParseID:" << parseId; ProfileGroup &group = profiles[parseId]; if (p_profile->available) { group.available = true; -- cgit v1.2.3-55-g7522