Commit 25366894 authored by Laurent Montel's avatar Laurent Montel
Browse files

Port deprecated enum

parent b09f2259
Pipeline #215592 passed with stage
in 1 minute and 6 seconds
......@@ -9,7 +9,7 @@ set(PROJECT_VERSION ${RELEASE_SERVICE_VERSION})
project(kamera VERSION ${PROJECT_VERSION})
set(KF5_MIN_VERSION "5.91.0")
set(KF5_MIN_VERSION "5.96.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR})
include(KDEInstallDirs)
......
......@@ -801,7 +801,7 @@ void KameraProtocol::listDir(const QUrl &yurl)
gp_list_free(dirList);
gp_list_free(fileList);
gp_list_free(specialList);
error(KIO::ERR_SLAVE_DEFINED, i18n("Could not read. Reason: %1",
error(KIO::ERR_WORKER_DEFINED, i18n("Could not read. Reason: %1",
QString::fromLocal8Bit(gp_result_as_string(gpr))));
return;
}
......
Supports Markdown
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