Calling processedSize is not needed in listDir
This commit is contained in:
parent
c122312c65
commit
152c6dccb9
1 changed files with 0 additions and 5 deletions
|
@ -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("");
|
||||||
|
|
Loading…
Reference in a new issue