Commit dbda7e6e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated methods

parent 6d093acd
......@@ -43,7 +43,6 @@
#include "kameradevice.h"
K_PLUGIN_FACTORY(KKameraConfigFactory, registerPlugin<KKameraConfig>();)
K_EXPORT_PLUGIN(KKameraConfigFactory("kcmkamera"))
Q_LOGGING_CATEGORY(KAMERA_KCONTROL, "kamera.kcontrol")
......
......@@ -763,7 +763,7 @@ void KameraProtocol::listDir(const QUrl &yurl)
}
if (!openCamera()) {
error(KIO::ERR_COULD_NOT_READ, yurl.path());
error(KIO::ERR_CANNOT_READ, yurl.path());
return;
}
......
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