Commit 297d641f authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Complete KUrl porting

parent fa49fe6e
......@@ -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()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment