Commit 96af90d8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated methods

parent d22fffe6
......@@ -29,6 +29,7 @@
#include <KIO/FileUndoManager>
#include <KIO/JobUiDelegate>
#include <KFormat>
#include <KFileUtils>
#include <KJobWidgets/KJobWidgets>
#include <QFile>
#include <QJsonArray>
......@@ -57,7 +58,7 @@ QUrl Kamoso::fileNameSuggestion(const QUrl &saveUrl, const QString &name, const
QUrl url(saveUrl.toString() + '/' + initialName);
if (url.isLocalFile() && QFile::exists(url.toLocalFile())) {
url.setPath(saveUrl.path() + '/' + KIO::suggestName(saveUrl, initialName));
url.setPath(saveUrl.path() + '/' + KFileUtils::suggestName(saveUrl, initialName));
}
return url;
......
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