Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KMenuEdit
Commits
2b95ff9e
Commit
2b95ff9e
authored
Mar 22, 2022
by
Laurent Montel
Browse files
Make compile against qt6
parent
dbc4550f
Pipeline
#153423
passed with stage
in 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
2b95ff9e
...
...
@@ -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_KXMLGUI
5
DIR
}
/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
)
...
...
treeview.cpp
View file @
2b95ff9e
...
...
@@ -376,7 +376,7 @@ QString TreeView::findName(KDesktopFile *df, bool deleted)
}
if
(
name
.
isEmpty
())
{
bool
isLocal
=
true
;
const
QStringList
files
=
QStandardPaths
::
locateAll
(
df
->
resourc
e
(),
df
->
fileName
(),
QStandardPaths
::
LocateFile
);
const
QStringList
files
=
QStandardPaths
::
locateAll
(
df
->
locationTyp
e
(),
df
->
fileName
(),
QStandardPaths
::
LocateFile
);
for
(
QStringList
::
ConstIterator
it
=
files
.
constBegin
();
it
!=
files
.
constEnd
();
++
it
)
{
if
(
isLocal
)
{
isLocal
=
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment