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
Plasma Firewall
Commits
904fa069
Commit
904fa069
authored
Apr 22, 2022
by
Laurent Montel
Browse files
Fix install in kf<version>
parent
4b260010
Pipeline
#167087
passed with stage
in 3 minutes and 49 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kcm/backends/firewalld/CMakeLists.txt
View file @
904fa069
...
...
@@ -18,7 +18,7 @@ set(firewalld_backend_SRCS
kcoreaddons_add_plugin
(
firewalldbackend
SOURCES
${
firewalld_backend_SRCS
}
INSTALL_NAMESPACE
"kf
5
/plasma_firewall"
)
INSTALL_NAMESPACE
"kf
${
QT_MAJOR_VERSION
}
/plasma_firewall"
)
target_link_libraries
(
firewalldbackend
Qt::DBus
...
...
kcm/backends/ufw/CMakeLists.txt
View file @
904fa069
...
...
@@ -11,7 +11,7 @@ set(ufw_backend_SRCS
kcoreaddons_add_plugin
(
ufwbackend
SOURCES
${
ufw_backend_SRCS
}
INSTALL_NAMESPACE
"kf
5
/plasma_firewall"
)
INSTALL_NAMESPACE
"kf
${
QT_MAJOR_VERSION
}
/plasma_firewall"
)
target_link_libraries
(
ufwbackend
kcm_firewall_core
...
...
kcm/core/firewallclient.cpp
View file @
904fa069
...
...
@@ -301,7 +301,7 @@ void FirewallClient::setBackend(const QStringList &backendList)
m_currentBackend
=
nullptr
;
}
const
auto
plugins
=
KPluginMetaData
::
findPlugins
(
QStringLiteral
(
"kf
5
/plasma_firewall"
));
const
auto
plugins
=
KPluginMetaData
::
findPlugins
(
QStringLiteral
(
"kf
"
QT_STRINGIFY
(
QT_VERSION_MAJOR
)
"
/plasma_firewall"
));
QList
<
KPluginFactory
*>
factories
;
for
(
const
KPluginMetaData
&
metadata
:
plugins
)
{
...
...
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