| 805 | } |
| 806 | |
| 807 | QString formatServicesStr(quint64 mask) |
| 808 | { |
| 809 | QStringList strList; |
| 810 | |
| 811 | for (const auto& flag : serviceFlagsToStr(mask)) { |
| 812 | strList.append(QString::fromStdString(flag)); |
| 813 | } |
| 814 | |
| 815 | if (strList.size()) |
| 816 | return strList.join(", "); |
| 817 | else |
| 818 | return QObject::tr("None"); |
| 819 | } |
| 820 | |
| 821 | QString formatPingTime(std::chrono::microseconds ping_time) |
| 822 | { |
no test coverage detected