[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kphotoalbum] RemoteControl: Fixed another "fromAscii".
From: Tobias Leupold <tobias.leupold () web ! de>
Date: 2016-09-13 17:34:29
Message-ID: E1bjrbJ-0008BD-RV () code ! kde ! org
[Download RAW message or body]
Git commit 5f0ed4f84ecfd4d1257046781964e0cf711501c0 by Tobias Leupold.
Committed on 13/09/2016 at 17:34.
Pushed by tleupold into branch 'master'.
Fixed another "fromAscii".
M +1 -1 RemoteControl/Server.cpp
http://commits.kde.org/kphotoalbum/5f0ed4f84ecfd4d1257046781964e0cf711501c0
diff --git a/RemoteControl/Server.cpp b/RemoteControl/Server.cpp
index 1254fc1..82ca785 100644
--- a/RemoteControl/Server.cpp
+++ b/RemoteControl/Server.cpp
@@ -72,7 +72,7 @@ void Server::readIncommingUDP()
QHostAddress address;
qint64 len = m_socket->readDatagram(data,1000, &address);
QString string = QString::fromUtf8(data).left(len);
- QStringList list = string.split(QChar::fromAscii(' '));
+ QStringList list = string.split(QChar::fromLatin1(' '));
if (list[0] != QString::fromUtf8("KPhotoAlbum")) {
return;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic