[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdeconnect-kde] kio: Remove trailing spaces and lines
From: Àlex_Fiestas <afiestas () kde ! org>
Date: 2015-07-31 9:40:55
Message-ID: E1ZL6oB-0000Nm-OM () scm ! kde ! org
[Download RAW message or body]
Git commit 4acfaa8b124538cb5e68450b50dd1f1a2423a344 by Àlex Fiestas.
Committed on 31/07/2015 at 09:39.
Pushed by afiestas into branch 'master'.
Remove trailing spaces and lines
M +7 -7 kio/kiokdeconnect.cpp
http://commits.kde.org/kdeconnect-kde/4acfaa8b124538cb5e68450b50dd1f1a2423a344
diff --git a/kio/kiokdeconnect.cpp b/kio/kiokdeconnect.cpp
index 0333a9b..9d40ee5 100644
--- a/kio/kiokdeconnect.cpp
+++ b/kio/kiokdeconnect.cpp
@@ -123,26 +123,26 @@ void KioKdeconnect::listDevice()
qCDebug(KDECONNECT_KIO) << "ListDevice" << m_currentDevice;
SftpDbusInterface interface(m_currentDevice);
-
+
QDBusReply<bool> mountreply = interface.mountAndWait();
-
+
if (handleDBusError(mountreply, this)) {
return;
}
-
+
if (!mountreply.value()) {
error(KIO::ERR_COULD_NOT_MOUNT, i18n("Could not mount device filesystem"));
return;
}
-
+
QDBusReply< QVariantMap > urlreply = interface.getDirectories();
-
+
if (handleDBusError(urlreply, this)) {
return;
}
-
+
QVariantMap urls = urlreply.value();
-
+
for (QVariantMap::iterator it = urls.begin(); it != urls.end(); it++) {
QString path = it.key();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic