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
PIM
KNotes
Commits
2aa08418
Commit
2aa08418
authored
Oct 14, 2022
by
Laurent Montel
Browse files
Fix search xmlgui files
parent
48dbe12a
Pipeline
#247847
passed with stage
in 2 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/apps/knotesapp.cpp
View file @
2aa08418
...
...
@@ -169,8 +169,8 @@ KNotesApp::KNotesApp(QWidget *parent)
// get the most recent XML UI file
QString
xmlFileName
(
componentName
()
+
QLatin1String
(
"ui.rc"
));
#pragma message("port QT5")
QString
filter
(
QLatin1String
(
"kxmlgui5/knotes/"
)
+
xmlFileName
);
// QT5 = componentData().componentName() + QLatin1Char('/') + xmlFileName;
QString
filter
(
QStringLiteral
(
"kxmlgui"
QT_STRINGIFY
(
QT_VERSION_MAJOR
)
"/knotes/"
)
+
xmlFileName
);
// QT5 = componentData().componentName() + QLatin1Char('/') + xmlFileName;
const
QStringList
fileList
=
QStandardPaths
::
locateAll
(
QStandardPaths
::
GenericDataLocation
,
filter
)
+
QStandardPaths
::
locateAll
(
QStandardPaths
::
GenericDataLocation
,
xmlFileName
);
// QT5 =
#pragma message("port QT5")
...
...
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