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
SDK
Kompare
Commits
a00db8f7
Commit
a00db8f7
authored
Nov 03, 2022
by
Nicolas Fella
Browse files
Load parts from correct directory for KF6
parent
4cb623eb
Pipeline
#260775
passed with stage
in 52 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/app/kompare_shell.cpp
View file @
a00db8f7
...
...
@@ -53,7 +53,7 @@ KompareShell::KompareShell()
setupActions
();
setupStatusBar
();
const
auto
viewPartLoadResult
=
KPluginFactory
::
instantiatePlugin
<
KParts
::
ReadWritePart
>
(
KPluginMetaData
(
QStringLiteral
(
"kf
5
/parts/komparepart"
)),
this
);
const
auto
viewPartLoadResult
=
KPluginFactory
::
instantiatePlugin
<
KParts
::
ReadWritePart
>
(
KPluginMetaData
(
QStringLiteral
(
"kf
"
QT_STRINGIFY
(
QT_VERSION_MAJOR
)
"
/parts/komparepart"
)),
this
);
if
(
viewPartLoadResult
)
{
...
...
@@ -75,7 +75,7 @@ KompareShell::KompareShell()
// This part is implemented in KompareNavTreePart
const
auto
navPartLoadResult
=
KPluginFactory
::
instantiatePlugin
<
KParts
::
ReadOnlyPart
>
(
KPluginMetaData
(
QStringLiteral
(
"kf
5
/parts/komparenavtreepart"
)),
m_navTreeDock
);
const
auto
navPartLoadResult
=
KPluginFactory
::
instantiatePlugin
<
KParts
::
ReadOnlyPart
>
(
KPluginMetaData
(
QStringLiteral
(
"kf
"
QT_STRINGIFY
(
QT_VERSION_MAJOR
)
"
/parts/komparenavtreepart"
)),
m_navTreeDock
);
if
(
navPartLoadResult
)
{
...
...
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