diff --git a/qzeroconfservice.cpp b/qzeroconfservice.cpp index 4afdb6a..3a8b39e 100644 --- a/qzeroconfservice.cpp +++ b/qzeroconfservice.cpp @@ -135,8 +135,8 @@ void QZeroConfService::appendTxt(QByteArray idx, QByteArray val) bool QZeroConfService::isValid() const { - //TODO is this a proper test - return (!data->name.isEmpty()) && (data->port > 0); + + return (!data->name.isEmpty()); } bool QZeroConfService::operator==(const QZeroConfService &rhs) const