diff options
| author | Elvis Angelaccio <[email protected]> | 2017-01-18 23:45:39 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2017-01-18 23:45:39 +0100 |
| commit | 1be2704214a9685fe85fdf65f30e4921eba0f2c9 (patch) | |
| tree | bdef8ddbf2a54b789e7b5d49d183426895abc53a /src/views/renamedialog.cpp | |
| parent | 215bed085b99274cb3cc57670f4a76d0d43c4603 (diff) | |
Port away from deprecated KIO::Job::ui()
It's equivalent to KJob::uiDelegate() from kcoreaddons.
Diffstat (limited to 'src/views/renamedialog.cpp')
| -rw-r--r-- | src/views/renamedialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/renamedialog.cpp b/src/views/renamedialog.cpp index a514ede1e..c73f003a8 100644 --- a/src/views/renamedialog.cpp +++ b/src/views/renamedialog.cpp @@ -162,7 +162,7 @@ void RenameDialog::renameItem(const KFileItem &item, const QString& newName) KIO::Job * job = KIO::moveAs(oldUrl, newUrl); KJobWidgets::setWindow(job, widget); KIO::FileUndoManager::self()->recordJob(KIO::FileUndoManager::Rename, {oldUrl}, newUrl, job); - job->ui()->setAutoErrorHandlingEnabled(true); + job->uiDelegate()->setAutoErrorHandlingEnabled(true); } void RenameDialog::slotAccepted() |
