Remove trailing spaces and lines
This commit is contained in:
parent
a0aa62dd04
commit
4acfaa8b12
1 changed files with 7 additions and 7 deletions
|
@ -123,26 +123,26 @@ void KioKdeconnect::listDevice()
|
||||||
qCDebug(KDECONNECT_KIO) << "ListDevice" << m_currentDevice;
|
qCDebug(KDECONNECT_KIO) << "ListDevice" << m_currentDevice;
|
||||||
|
|
||||||
SftpDbusInterface interface(m_currentDevice);
|
SftpDbusInterface interface(m_currentDevice);
|
||||||
|
|
||||||
QDBusReply<bool> mountreply = interface.mountAndWait();
|
QDBusReply<bool> mountreply = interface.mountAndWait();
|
||||||
|
|
||||||
if (handleDBusError(mountreply, this)) {
|
if (handleDBusError(mountreply, this)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mountreply.value()) {
|
if (!mountreply.value()) {
|
||||||
error(KIO::ERR_COULD_NOT_MOUNT, i18n("Could not mount device filesystem"));
|
error(KIO::ERR_COULD_NOT_MOUNT, i18n("Could not mount device filesystem"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QDBusReply< QVariantMap > urlreply = interface.getDirectories();
|
QDBusReply< QVariantMap > urlreply = interface.getDirectories();
|
||||||
|
|
||||||
if (handleDBusError(urlreply, this)) {
|
if (handleDBusError(urlreply, this)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariantMap urls = urlreply.value();
|
QVariantMap urls = urlreply.value();
|
||||||
|
|
||||||
for (QVariantMap::iterator it = urls.begin(); it != urls.end(); it++) {
|
for (QVariantMap::iterator it = urls.begin(); it != urls.end(); it++) {
|
||||||
|
|
||||||
QString path = it.key();
|
QString path = it.key();
|
||||||
|
|
Loading…
Reference in a new issue