Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KWalletManager
Commits
72a36a4c
Commit
72a36a4c
authored
Aug 12, 2020
by
Nicolas Fella
Browse files
Port away from deprecated KToolInvocation::startServiceByDesktopName
parent
dfe5a947
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/manager/CMakeLists.txt
View file @
72a36a4c
...
...
@@ -56,6 +56,7 @@ target_link_libraries(kwalletmanager5
KF5::ConfigCore
KF5::Service
KF5::KIOCore
KF5::KIOGui
KF5::JobWidgets
KF5::Archive
KF5::IconThemes
...
...
src/manager/kwalletmanager.cpp
View file @
72a36a4c
...
...
@@ -27,7 +27,6 @@
#include
"kwalletmanager_debug.h"
#include
<KLocalizedString>
#include
<KToolInvocation>
#include
<QAction>
#include
<KConfig>
#include
<KIconLoader>
...
...
@@ -40,7 +39,7 @@
#include
<KActionCollection>
#include
<KConfigGroup>
#include
<KTar>
#include
<KIO/CommandLauncherJob>
#include
<QRegExp>
#include
<QRegExpValidator>
...
...
@@ -397,7 +396,8 @@ void KWalletManager::shuttingDown()
void
KWalletManager
::
setupWallet
()
{
KToolInvocation
::
startServiceByDesktopName
(
QStringLiteral
(
"kwalletconfig5"
));
auto
*
job
=
new
KIO
::
CommandLauncherJob
(
QStringLiteral
(
"kcmshell5"
),
{
QStringLiteral
(
"kwalletconfig5"
)});
job
->
start
();
}
void
KWalletManager
::
closeAllWallets
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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