mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-09 20:05:51 +00:00
add network request source
This commit is contained in:
@ -441,6 +441,12 @@ QStringList AWKeysAggregator::registerSource(const QString &source,
|
||||
// network device
|
||||
m_map[source] = QString("netdev");
|
||||
m_formatter[QString("netdev")] = FormatterType::NoFormat;
|
||||
} else if (source.startsWith(QString("network/response"))) {
|
||||
// network response
|
||||
QString key = source;
|
||||
key.remove(QString("network/"));
|
||||
m_map[source] = key;
|
||||
m_formatter[key] = FormatterType::NoFormat;
|
||||
} else if (source.contains(netRegExp)) {
|
||||
// network speed
|
||||
QString type = source.contains(QString("receiver")) ? QString("down")
|
||||
|
Reference in New Issue
Block a user