Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1100fcec authored by Laurent Montel's avatar Laurent Montel 😁

Make it compiles when we have libkipi

parent 1acaa2ca
......@@ -155,7 +155,7 @@ void ExportMenu::getKipiItems()
KIPI::Category category = plugin->category(action);
if (category == KIPI::ExportPlugin) {
exportActions += action;
} else if (category == KIPI::ImagesPlugin && pluginInfo->library().contains("kipiplugin_sendimages")) {
} else if (category == KIPI::ImagesPlugin && pluginInfo->library().contains(QStringLiteral("kipiplugin_sendimages"))) {
exportActions += action;
}
}
......
......@@ -27,9 +27,9 @@
KSGKipiImageCollectionShared::KSGKipiImageCollectionShared() {}
KSGKipiImageCollectionShared::~KSGKipiImageCollectionShared() {}
QString KSGKipiImageCollectionShared::name() { return "Spectacle"; }
QString KSGKipiImageCollectionShared::name() { return QStringLiteral("Spectacle"); }
QString KSGKipiImageCollectionShared::comment() { return QString(); }
QString KSGKipiImageCollectionShared::uploadRootName() { return "/"; }
QString KSGKipiImageCollectionShared::uploadRootName() { return QStringLiteral("/"); }
QUrl KSGKipiImageCollectionShared::uploadRoot() { return QUrl(uploadRootName()); }
bool KSGKipiImageCollectionShared::isDirectory() { return false; }
QList<QUrl> KSGKipiImageCollectionShared::images() { return QList<QUrl>({ ExportManager::instance()->tempSave() }); }
......
......@@ -32,7 +32,7 @@
class KSGKipiImageCollectionShared : public KIPI::ImageCollectionShared
{
public:
public:
explicit KSGKipiImageCollectionShared();
~KSGKipiImageCollectionShared();
......@@ -44,7 +44,7 @@ class KSGKipiImageCollectionShared : public KIPI::ImageCollectionShared
QString uploadRootName();
bool isDirectory();
private:
private:
QList<QUrl> mImages;
};
......
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