Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
public:
inline QHostInfoPrivate()
: err(QHostInfo::HostNotFound),
- errorStr(QLatin1String(QT_TRANSLATE_NOOP("QHostInfo", "Unknown error")))
+ errorStr(QLatin1String(QT_TRANSLATE_NOOP("QHostInfo", "Host not found")))
{
}
{
QHostInfo results;
results.d->err = QHostInfo::NoError;
+ results.d->errorStr = QCoreApplication::translate("QHostInfo", "Unknown error");
#if defined(QHOSTINFO_DEBUG)
qDebug("QHostInfoPrivate::fromName(%s) looking up...",
if (temp.setAddress(hostName)) {
QHostInfo info;
info.d->err = QHostInfo::NoError;
+ info.d->errorStr = QCoreApplication::translate("QHostInfo", "Unknown error");
info.d->addrs.append(temp);
d->_q_startConnecting(info);
} else {