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
Utilities
Ark
Commits
7809ba4a
Commit
7809ba4a
authored
Oct 20, 2022
by
Elvis Angelaccio
Browse files
Load kf6 part if building with Qt6
parent
841cc563
Pipeline
#252209
passed with stage
in 1 minute and 31 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/mainwindow.cpp
View file @
7809ba4a
...
...
@@ -118,7 +118,7 @@ void MainWindow::dragMoveEvent(QDragMoveEvent * event)
bool
MainWindow
::
loadPart
()
{
m_part
=
KPluginFactory
::
instantiatePlugin
<
KParts
::
ReadWritePart
>
(
KPluginMetaData
(
QStringLiteral
(
"kf
5
/parts/arkpart"
))).
plugin
;
m_part
=
KPluginFactory
::
instantiatePlugin
<
KParts
::
ReadWritePart
>
(
KPluginMetaData
(
QStringLiteral
(
"kf
"
QT_STRINGIFY
(
QT_VERSION_MAJOR
)
"
/parts/arkpart"
))).
plugin
;
if
(
!
m_part
)
{
KMessageBox
::
error
(
this
,
i18n
(
"Unable to find Ark's KPart component, please check your installation."
));
...
...
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