diff --git a/plugin/fileviewseafileplugin.cpp b/plugin/fileviewseafileplugin.cpp index f9b9caf..37e6d13 100644 --- a/plugin/fileviewseafileplugin.cpp +++ b/plugin/fileviewseafileplugin.cpp @@ -74,8 +74,13 @@ KVersionControlPlugin::ItemVersion FileViewSeafilePlugin::itemVersion(const KFil return UnversionedVersion; } } +QList FileViewSeafilePlugin::versionControlActions(const KFileItemList &items) const +{ + Q_UNUSED(items) + return {}; +} -QList FileViewSeafilePlugin::actions(const KFileItemList &items) const +QList FileViewSeafilePlugin::outOfVersionControlActions(const KFileItemList &items) const { // //test if this it's actually seafile // try { diff --git a/plugin/fileviewseafileplugin.h b/plugin/fileviewseafileplugin.h index 0a11d5f..4602f29 100644 --- a/plugin/fileviewseafileplugin.h +++ b/plugin/fileviewseafileplugin.h @@ -17,7 +17,8 @@ class FileViewSeafilePlugin : public KVersionControlPlugin bool beginRetrieval(const QString &directory) override; void endRetrieval() override; ItemVersion itemVersion(const KFileItem &item) const override; - QList actions(const KFileItemList &items) const override; + QList versionControlActions(const KFileItemList &items) const override; + QList outOfVersionControlActions(const KFileItemList &items) const override; private: SeafStatus *_seaf;