diff options
| author | 2023-07-08 01:38:33 +0200 | |
|---|---|---|
| committer | 2023-07-08 01:38:33 +0200 | |
| commit | 28292170d8c02743cabfabba3a1623b8d71b9aa2 (patch) | |
| tree | 03c7269f527a40a5b86863db7c111f2552afe46c /src/modules/upnp/SsdpConnection.cpp | |
| parent | Merge branch 'bugfix/script-editor-out-of-range-exception' (diff) | |
| download | KVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.tar.gz KVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.tar.bz2 KVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.zip | |
Port to (and require) Qt 5.15. Drop KDE4 support, fix KDE5 (#2541)
* Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed.
---------
Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>
Diffstat (limited to 'src/modules/upnp/SsdpConnection.cpp')
| -rw-r--r-- | src/modules/upnp/SsdpConnection.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/upnp/SsdpConnection.cpp b/src/modules/upnp/SsdpConnection.cpp index adfa21ace..8958653ec 100644 --- a/src/modules/upnp/SsdpConnection.cpp +++ b/src/modules/upnp/SsdpConnection.cpp @@ -62,7 +62,7 @@ namespace UPnP // Data was received by the socket void SsdpConnection::slotDataReceived() { - qDebug() << "UPnP::SsdpConnection: received " << m_pSocket->bytesAvailable() << " bytes." << endl; + qDebug() << "UPnP::SsdpConnection: received " << m_pSocket->bytesAvailable() << " bytes." << Qt::endl; // Response from Diederik's Acatel router: // @@ -114,7 +114,7 @@ namespace UPnP // Send a broadcast to detect all devices void SsdpConnection::queryDevices(int bindPort) { - qDebug() << "UPnP::SsdpConnection: sending broadcast packet." << endl; + qDebug() << "UPnP::SsdpConnection: sending broadcast packet." << Qt::endl; // Send a packet to a broadcast address QHostAddress address("239.255.255.250"); @@ -130,7 +130,7 @@ namespace UPnP bool success = m_pSocket->bind(bindPort); if(!success) { - qDebug() << "UPnP::SsdpConnection: failed to bind to port " << bindPort << "." << endl; + qDebug() << "UPnP::SsdpConnection: failed to bind to port " << bindPort << "." << Qt::endl; } // Send the data @@ -139,7 +139,7 @@ namespace UPnP if(bytesWritten == -1) { - qDebug() << "UPnP::SsdpConnection: failed to send the UPnP broadcast packet." << endl; + qDebug() << "UPnP::SsdpConnection: failed to send the UPnP broadcast packet." << Qt::endl; } } |
