diff options
author | Simon Rettberg | 2022-05-16 16:10:56 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-16 16:10:56 +0200 |
commit | 90c1b1abb7b475f4250bfa400f311e570ae0a47a (patch) | |
tree | f81542a01e8d93eb91fdc5853eb7cef629272a53 | |
parent | Add -o option to select output profile (diff) | |
download | pavucontrol-slx-90c1b1abb7b475f4250bfa400f311e570ae0a47a.tar.gz pavucontrol-slx-90c1b1abb7b475f4250bfa400f311e570ae0a47a.tar.xz pavucontrol-slx-90c1b1abb7b475f4250bfa400f311e570ae0a47a.zip |
Remove debug spam
-rw-r--r-- | src/cardwidget.cc | 8 | ||||
-rw-r--r-- | 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<QString, int> counts; - qDebug() << "Entries" << this; + //qDebug() << "Entries" << this; for (auto n : entries) { - qDebug() << n.tokens; + //qDebug() << n.tokens; QSet<QString> tmp = n.tokens.toSet(); //(n.tokens.begin(), n.tokens.end()); for (auto t : tmp) { counts[t]++; } } - qDebug() << counts; + //qDebug() << counts; QSet<QString> todo = counts.keys().toSet(); for (auto &pe : entries) { QMutableListIterator<QString> 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<pa_card_profile_info2 *, profile_prio_compare> parseId.append(p); } } - qDebug() << "ParseID:" << parseId; + //qDebug() << "ParseID:" << parseId; ProfileGroup &group = profiles[parseId]; if (p_profile->available) { group.available = true; |