mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 04:46:11 +00:00
Update includes compat with KF5.92 on some distributions (#2912)
With KF5.92 headers KSyntaxHighlighting/{header}.h copied to KSyntaxHighlighting/ksyntaxhighlighting/{header}.h. Headers KSyntaxHighlighting/{Header} now include ksyntaxhighlighting/{header}.h instead of {header}.h. Than on some distros like ArchLinux headers KSyntaxHighlighting/{header}.h removed, because it copies of KSyntaxHighlighting/ksyntaxhighlighting/{header}.h and because KSyntaxHighlighting/{Header} now include ksyntaxhighlighting/{header}.h.
This commit is contained in:
parent
21ab0e2a9e
commit
8ace08b6e0
@ -7,9 +7,9 @@
|
||||
#include <QApplication>
|
||||
|
||||
#ifdef CUTTER_ENABLE_KSYNTAXHIGHLIGHTING
|
||||
# include <KSyntaxHighlighting/repository.h>
|
||||
# include <KSyntaxHighlighting/theme.h>
|
||||
# include <KSyntaxHighlighting/definition.h>
|
||||
# include <KSyntaxHighlighting/Repository>
|
||||
# include <KSyntaxHighlighting/Theme>
|
||||
# include <KSyntaxHighlighting/Definition>
|
||||
#endif
|
||||
|
||||
#include "common/ColorThemeWorker.h"
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
# include "Configuration.h"
|
||||
|
||||
# include <KSyntaxHighlighting/theme.h>
|
||||
# include <KSyntaxHighlighting/Theme>
|
||||
|
||||
SyntaxHighlighter::SyntaxHighlighter(QTextDocument *document)
|
||||
: KSyntaxHighlighting::SyntaxHighlighter(document)
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#ifdef CUTTER_ENABLE_KSYNTAXHIGHLIGHTING
|
||||
|
||||
# include <KSyntaxHighlighting/syntaxhighlighter.h>
|
||||
# include <KSyntaxHighlighting/SyntaxHighlighter>
|
||||
|
||||
class SyntaxHighlighter : public KSyntaxHighlighting::SyntaxHighlighter
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user