Calling processedSize is not needed in listDir

This commit is contained in:
Albert Vaca 2016-08-29 20:28:24 +02:00
parent c122312c65
commit 152c6dccb9

View file

@ -86,8 +86,6 @@ void KioKdeconnect::listAllDevices()
//TODO: Change to all devices and show different icons for connected and disconnected? //TODO: Change to all devices and show different icons for connected and disconnected?
QStringList devices = m_dbusInterface->devices(true, true); QStringList devices = m_dbusInterface->devices(true, true);
totalSize(devices.length());
int i = 0; int i = 0;
Q_FOREACH(const QString& deviceId, devices) { Q_FOREACH(const QString& deviceId, devices) {
@ -107,9 +105,6 @@ void KioKdeconnect::listAllDevices()
entry.insert(KIO::UDSEntry::UDS_MIME_TYPE, ""); entry.insert(KIO::UDSEntry::UDS_MIME_TYPE, "");
entry.insert(KIO::UDSEntry::UDS_URL, target); entry.insert(KIO::UDSEntry::UDS_URL, target);
listEntry(entry); listEntry(entry);
processedSize(i++);
} }
infoMessage(""); infoMessage("");