sign: Reorder Tx/Rx columns in StreamStats Window

This commit is contained in:
Srivats P 2016-12-09 18:12:06 +05:30
parent 9cd26567cd
commit ba06b88329

View File

@ -23,17 +23,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
// XXX: Keep the enum in sync with it's string // XXX: Keep the enum in sync with it's string
enum { enum {
kRxPkts,
kTxPkts, kTxPkts,
kRxBytes, kRxPkts,
kTxBytes, kTxBytes,
kRxBytes,
kMaxStreamStats kMaxStreamStats
}; };
static QStringList statTitles = QStringList() static QStringList statTitles = QStringList()
<< "Rx Pkts"
<< "Tx Pkts" << "Tx Pkts"
<< "Rx Bytes" << "Rx Pkts"
<< "Tx Bytes"; << "Tx Bytes"
<< "Rx Bytes";
StreamStatsModel::StreamStatsModel(QObject *parent) StreamStatsModel::StreamStatsModel(QObject *parent)
: QAbstractTableModel(parent) : QAbstractTableModel(parent)