From f0201de2190fbb0cdc5640e2a40418645fe6f35c Mon Sep 17 00:00:00 2001 From: talksik Date: Fri, 9 Feb 2024 10:14:27 -0800 Subject: [PATCH] cleanup --- networkscanner.cpp | 1 - networksmodel.cpp | 8 -------- 2 files changed, 9 deletions(-) diff --git a/networkscanner.cpp b/networkscanner.cpp index 3a2571c..4119c2a 100644 --- a/networkscanner.cpp +++ b/networkscanner.cpp @@ -38,7 +38,6 @@ QList NetworkScanner::scanForNetworks() } for (const std::string &ssid : ssids) { - std::cout << ssid << std::endl; Network newNetwork = Network(ssid.c_str()); networks.append(newNetwork); } diff --git a/networksmodel.cpp b/networksmodel.cpp index 91a22dc..eddd3fb 100644 --- a/networksmodel.cpp +++ b/networksmodel.cpp @@ -24,8 +24,6 @@ QVariant NetworksModel::data(const QModelIndex &index, int role) const } const Network& network = this->m_networks.at(index.row()); - qDebug() << "role: " << role << " vs. " << NameRole; - qDebug() << "network: " << network.name(); if (role == NameRole) { return network.name(); @@ -39,14 +37,8 @@ void NetworksModel::scan() beginResetModel(); QList networks = this->m_networkScanner.scanForNetworks(); - for (const Network& network: networks) - { - qDebug() << "Got network: " << network.name() << Qt::endl; - } this->m_networks = networks; - qDebug() << "now have " << this->m_networks.size() << Qt::endl; - endResetModel(); }