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

This commit is contained in:
Michael Jones 2013-08-22 15:00:52 -05:00
parent 81f56ebf5b
commit 1e4c9ba907
1 changed files with 1 additions and 1 deletions

View File

@ -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;