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
System
KCron
Commits
d6ed46f0
Commit
d6ed46f0
authored
Feb 26, 2022
by
Laurent Montel
Browse files
Use new kauth includes
parent
ec3346a5
Pipeline
#142616
passed with stage
in 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/crontablib/ctcron.cpp
View file @
d6ed46f0
...
...
@@ -23,8 +23,14 @@
#include
"ctvariable.h"
// For root permissions
#include
<kauth_version.h>
#if KAUTH_VERSION >= QT_VERSION_CHECK(5, 92, 0)
#include
<KAuth/Action>
#include
<KAuth/ExecuteJob>
#else
#include
<KAuthAction>
#include
<KAuthExecuteJob>
#endif
#include
<pwd.h>
// pwd, getpwnam(), getpwuid()
#include
<unistd.h>
// getuid(), unlink()
...
...
src/helper/kcronhelper.h
View file @
d6ed46f0
...
...
@@ -23,8 +23,14 @@
* ======================================================================== */
#pragma once
#include
<QObject>
#include
<kauth_version.h>
#if KAUTH_VERSION >= QT_VERSION_CHECK(5, 92, 0)
#include
<KAuth/ActionReply>
#include
<KAuth/HelperSupport>
#else
#include
<KAuth>
#endif
using
namespace
KAuth
;
...
...
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