summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-10-30 08:56:23 (GMT)
committerAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-10-30 08:56:23 (GMT)
commit297d641f30d5487a4ddc98d996ce0c554bf2e064 (patch)
tree0f0703ea97468fa1ddfc590dec95d96d32ec9a46
parentfa49fe6ec90b7691f5c8b746841b08ef9c7feb27 (diff)
Complete KUrl porting
-rw-r--r--src/tools/moleculeview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/moleculeview.cpp b/src/tools/moleculeview.cpp
index 7199f10..c54704e 100644
--- a/src/tools/moleculeview.cpp
+++ b/src/tools/moleculeview.cpp
@@ -274,7 +274,7 @@ void MoleculeDialog::slotDownloadNewStuff()
qDebug() << "Changed Entry: " << entry.installedFiles();
foreach (const QString &origFile, entry.installedFiles()) {
const QString destFile = destinationDir + '/' + QFileInfo(origFile).fileName();
- KJob *job;// = KIO::file_move(QUrl::fromLocalFile(origFile), QUrl::fromPath(destFile));//TODO:KF5
+ KJob *job = KIO::file_move(QUrl::fromLocalFile(origFile), QUrl::fromLocalFile(destFile));;
const bool success = job->exec();
if (success) {
if (exactlyOneFile.isEmpty()) {