summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2017-07-22 16:07:41 +0200
committerDavid Faure <[email protected]>2017-07-22 16:07:41 +0200
commite610205ad05b6993b508ef73f9ffe25dd586919f (patch)
treed8d6856b40361624a64139dcd8c5305073dd38a4
parente28d2074f8e6841ecf157e9fb7facac446df538a (diff)
Fix compilation warnings
-rw-r--r--libkonq/src/konq_popupmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkonq/src/konq_popupmenu.cpp b/libkonq/src/konq_popupmenu.cpp
index f3d250e..49c0042 100644
--- a/libkonq/src/konq_popupmenu.cpp
+++ b/libkonq/src/konq_popupmenu.cpp
@@ -497,7 +497,7 @@ void KonqPopupMenuPrivate::slotPopupEmptyTrashBin()
if (uiDelegate.askDeleteConfirmation(QList<QUrl>(), KIO::JobUiDelegate::EmptyTrash, KIO::JobUiDelegate::DefaultConfirmation)) {
KIO::Job *job = KIO::emptyTrash();
KJobWidgets::setWindow(job, m_parentWidget);
- job->ui()->setAutoErrorHandlingEnabled(true); // or connect to the result signal
+ job->uiDelegate()->setAutoErrorHandlingEnabled(true); // or connect to the result signal
}
}
@@ -556,5 +556,5 @@ void KonqPopupMenuPrivate::slotShowOriginalFile()
// Now destUrl points to the target file, let's go up to parent dir
destUrl = destUrl.adjusted(QUrl::RemoveFilename);
- KRun::runUrl(destUrl, QStringLiteral("inode/directory"), m_parentWidget);
+ KRun::runUrl(destUrl, QStringLiteral("inode/directory"), m_parentWidget, KRun::RunFlags());
}