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/dolphinmainwindow.cpp | |
| parent | 215bed085b99274cb3cc57670f4a76d0d43c4603 (diff) | |
Port away from deprecated KIO::Job::ui()
It's equivalent to KJob::uiDelegate() from kcoreaddons.
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index deb5d5e57..1dcae7ec4 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -723,7 +723,7 @@ void DolphinMainWindow::handleUrl(const QUrl& url) } else if (KProtocolManager::supportsListing(url)) { // stat the URL to see if it is a dir or not m_lastHandleUrlStatJob = KIO::stat(url, KIO::HideProgressInfo); - if (m_lastHandleUrlStatJob->ui()) { + if (m_lastHandleUrlStatJob->uiDelegate()) { KJobWidgets::setWindow(m_lastHandleUrlStatJob, this); } connect(m_lastHandleUrlStatJob, &KIO::Job::result, |
