From 152c6dccb9c1408fcd99097333e0692ebff35b76 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Mon, 29 Aug 2016 20:28:24 +0200 Subject: [PATCH] Calling processedSize is not needed in listDir --- kio/kiokdeconnect.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kio/kiokdeconnect.cpp b/kio/kiokdeconnect.cpp index f069abcce..107609c03 100644 --- a/kio/kiokdeconnect.cpp +++ b/kio/kiokdeconnect.cpp @@ -86,8 +86,6 @@ void KioKdeconnect::listAllDevices() //TODO: Change to all devices and show different icons for connected and disconnected? QStringList devices = m_dbusInterface->devices(true, true); - totalSize(devices.length()); - int i = 0; 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_URL, target); listEntry(entry); - - processedSize(i++); - } infoMessage("");