Commit 98eca7fd authored by Michael Reeves's avatar Michael Reeves
Browse files

*remove KDE4Support from fileactionitem plugin.

parent ad7ca678
......@@ -3,7 +3,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS KIO
)
kcoreaddons_add_plugin(kdiff3fileitemaction SOURCES kdiff3fileitemaction.cpp INSTALL_NAMESPACE "kf5/kfileitemaction")
target_link_libraries(kdiff3fileitemaction ${KDiff3_LIBRARIES} KF5::WidgetsAddons KF5::KIOWidgets)
target_link_libraries(kdiff3fileitemaction KF5::I18n KF5::WidgetsAddons KF5::KIOWidgets)
install(TARGETS kdiff3fileitemaction DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES kdiff3fileitemaction.desktop DESTINATION ${SERVICES_INSTALL_DIR})
......@@ -85,7 +85,7 @@ QList<QAction*> KDiff3FileItemAction::actions( const KFileItemListProperties& fi
{
QList< QAction* > actions;
if (KStandardDirs::findExe("kdiff3").isNull ())
if (QStandardPaths::findExecutable("kdiff3").isNull ())
return actions;
KDiff3FileItemAction *pThis = const_cast<KDiff3FileItemAction*>(this);
......
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