]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/applyviewpropsjob.cpp
SVN_SILENT made messages (.desktop file) - always resolve ours
[dolphin.git] / src / settings / applyviewpropsjob.cpp
index 9de2affe67fd276db4b65603a1e5c491001cd723..2a2b4bfe4f5ef0c30a7fe6e4a3f374b1af65c027 100644 (file)
@@ -10,6 +10,7 @@
 #include "applyviewpropsjob.h"
 
 #include "views/viewproperties.h"
+#include <KIO/ListJob>
 
 ApplyViewPropsJob::ApplyViewPropsJob(const QUrl &dir, const ViewProperties &viewProps)
     : KIO::Job()
@@ -44,7 +45,7 @@ void ApplyViewPropsJob::slotEntries(KIO::Job *, const KIO::UDSEntryList &list)
 
             QUrl url(m_dir);
             url = url.adjusted(QUrl::StripTrailingSlash);
-            url.setPath(url.path() + '/' + name);
+            url.setPath(url.path() + QLatin1Char('/') + name);
 
             Q_ASSERT(m_viewProps);
 
@@ -62,3 +63,5 @@ void ApplyViewPropsJob::slotResult(KJob *job)
     }
     emitResult();
 }
+
+#include "moc_applyviewpropsjob.cpp"