Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 5f3959c1 authored by Vangelis Tasoulas's avatar Vangelis Tasoulas Committed by Albert Astals Cid

Replaced calls to the deprecated function KJobUiDelegate *ui().

Replaced calls to the function KJobUiDelegate *ui() with the function KJobUiDelegate *uiDelegate().
ui() is deprecated and the compiler is raising warnings. Since 5.0, ui() can now be replaced with uiDelegate().

Reviewers: gateau, lukas, broulik

Reviewed By: broulik

Subscribers: broulik, cfeck

Differential Revision:
parent 171e602f
......@@ -102,7 +102,7 @@ static void copyMoveOrLink(Operation operation, const QList<QUrl>& urlList, QWid
KJobWidgets::setWindow(job, parent);
static void delOrTrash(KIO::JobUiDelegate::DeletionType deletionType, const QList<QUrl>& urlList, QWidget* parent)
......@@ -218,7 +218,7 @@ void rename(const QUrl &oldUrl, QWidget* parent)
KIO::SimpleJob* job = KIO::rename(oldUrl, newUrl, KIO::HideProgressInfo);
KJobWidgets::setWindow(job, parent);
if (!job->exec()) {
ThumbnailProvider::moveThumbnail(oldUrl, newUrl);
Markdown is supported
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