Commit 2b95ff9e authored by Laurent Montel's avatar Laurent Montel
Browse files

Make compile against qt6

parent dbc4550f
Pipeline #153423 passed with stage
in 38 seconds
......@@ -106,7 +106,7 @@ install(TARGETS kmenuedit ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install( PROGRAMS org.kde.kmenuedit.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES org.kde.kmenuedit.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
install( FILES kmenueditui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kmenuedit )
install( FILES kmenueditui.rc DESTINATION ${KDE_INSTALL_KXMLGUIDIR}/kmenuedit )
ecm_install_icons( ICONS 16-apps-kmenuedit.png 22-apps-kmenuedit.png 32-apps-kmenuedit.png 48-apps-kmenuedit.png DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor )
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
......
......@@ -376,7 +376,7 @@ QString TreeView::findName(KDesktopFile *df, bool deleted)
}
if (name.isEmpty()) {
bool isLocal = true;
const QStringList files = QStandardPaths::locateAll(df->resource(), df->fileName(), QStandardPaths::LocateFile);
const QStringList files = QStandardPaths::locateAll(df->locationType(), df->fileName(), QStandardPaths::LocateFile);
for (QStringList::ConstIterator it = files.constBegin(); it != files.constEnd(); ++it) {
if (isLocal) {
isLocal = false;
......
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