Incorrect comments
This commit is contained in:
parent
a9113e9604
commit
88e9666029
2 changed files with 2 additions and 3 deletions
|
@ -82,9 +82,8 @@ Daemon::Daemon(QObject *parent, const QList<QVariant>&)
|
||||||
Q_EMIT deviceAdded(id);
|
Q_EMIT deviceAdded(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Listen to connectivity changes
|
||||||
QNetworkSession* network = new QNetworkSession(QNetworkConfigurationManager().defaultConfiguration());
|
QNetworkSession* network = new QNetworkSession(QNetworkConfigurationManager().defaultConfiguration());
|
||||||
|
|
||||||
//Listen to incomming connections
|
|
||||||
Q_FOREACH (LinkProvider* a, mLinkProviders) {
|
Q_FOREACH (LinkProvider* a, mLinkProviders) {
|
||||||
connect(network, SIGNAL(stateChanged(QNetworkSession::State)),
|
connect(network, SIGNAL(stateChanged(QNetworkSession::State)),
|
||||||
a, SLOT(onNetworkChange(QNetworkSession::State)));
|
a, SLOT(onNetworkChange(QNetworkSession::State)));
|
||||||
|
|
|
@ -77,4 +77,4 @@ private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // UDP_WIRELESS_H
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue