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:
parent
81f56ebf5b
commit
1e4c9ba907
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue