diff --git a/plugins/share/shareplugin.cpp b/plugins/share/shareplugin.cpp index edbf6fd6d..d42b563d4 100644 --- a/plugins/share/shareplugin.cpp +++ b/plugins/share/shareplugin.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include "core/filetransferjob.h" #include "core/daemon.h" @@ -73,7 +72,7 @@ QUrl SharePlugin::getFileDestination(const QString filename) const QUrl destination(dir); destination.setPath(dir.path() + QStringLiteral("/") + filename, QUrl::DecodedMode); if (destination.isLocalFile() && QFile::exists(destination.toLocalFile())) { - destination.setPath(dir.path() + QStringLiteral("/") + KFileUtils::suggestName(dir, filename), QUrl::DecodedMode); + destination.setPath(dir.path() + QStringLiteral("/") + KIO::suggestName(dir, filename), QUrl::DecodedMode); } return destination; }