From 1e4c9ba907527d09d364cf49332cf64277c523b5 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Thu, 22 Aug 2013 15:00:52 -0500 Subject: [PATCH] For some reason qt5 isn't doing the auto promotion that it should be on this. Wrapping it with a constructor to the type it should be auto promoted into fixes the compiler error --- src/zeroconf/avahi/qxtmdns_avahi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zeroconf/avahi/qxtmdns_avahi.cpp b/src/zeroconf/avahi/qxtmdns_avahi.cpp index 12cb33b3..cee3f21d 100644 --- a/src/zeroconf/avahi/qxtmdns_avahi.cpp +++ b/src/zeroconf/avahi/qxtmdns_avahi.cpp @@ -42,7 +42,7 @@ QxtMDNS::QxtMDNS(int id, QObject* parent) : QObject(parent) { QXT_INIT_PRIVATE(QxtMDNS); - qxt_d().info = id; + qxt_d().info = QHostInfo(id); qxt_d().client = NULL; qxt_d().recordbrowser = NULL; qxt_d().sent = false;