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
Kate
Commits
84f9368e
Commit
84f9368e
authored
Aug 02, 2021
by
Christoph Cullmann
🐮
Browse files
improve kate on haiku os
incooperate the sole patches needed there from haikuports
parent
a4d729a3
Pipeline
#73074
passed with stage
in 5 minutes and 55 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
kate/main.cpp
View file @
84f9368e
...
...
@@ -45,7 +45,7 @@
int
main
(
int
argc
,
char
**
argv
)
{
#if
n
def
Q_OS_WIN
#if
!
def
ined(
Q_OS_WIN
) && !defined(Q_OS_HAIKU)
// Prohibit using sudo or kdesu (but allow using the root user directly)
if
(
getuid
()
==
0
)
{
if
(
!
qEnvironmentVariableIsEmpty
(
"SUDO_USER"
))
{
...
...
kwrite/main.cpp
View file @
84f9368e
...
...
@@ -37,7 +37,7 @@
extern
"C"
Q_DECL_EXPORT
int
main
(
int
argc
,
char
**
argv
)
{
#if
n
def
Q_OS_WIN
#if
!
def
ined(
Q_OS_WIN
) && !defined(Q_OS_HAIKU)
// Prohibit using sudo or kdesu (but allow using the root user directly)
if
(
getuid
()
==
0
)
{
if
(
!
qEnvironmentVariableIsEmpty
(
"SUDO_USER"
))
{
...
...
Christoph Cullmann
🐮
@cullmann
mentioned in commit
d79eba59
·
Aug 02, 2021
mentioned in commit
d79eba59
mentioned in commit d79eba59fb7c896ca5b1cebc653b5e7456fa0e14
Toggle commit list
Write
Preview
Markdown
is supported
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