diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2010-11-09 16:01:58 +0100 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2010-11-09 16:15:36 +0100 |
commit | a534c271ecc5c63015b4b8d2fa55716661dfd3fc (patch) | |
tree | 0ec5b758084a25775cd4c4201a590eedb8360656 /src/plugins/texteditor/generichighlighter/highlightersettings.h | |
parent | b5edda3c32d91754fd7d4ea3592cf2fec3949e86 (diff) |
Generic highlighter: Add Creator's share folder in the fallback definitions search.
This leaves the code prepared if we decide to ship some of the Kate XMLs (still
a pending decision). In this case the installer needs to be "notified" and the
Kate files put in the repo.
An addition check for actual XML files in the searched directories is also added.
Reviewed-by: con
Reviewed-by: Thorbjorn Lindeijer
Diffstat (limited to 'src/plugins/texteditor/generichighlighter/highlightersettings.h')
-rw-r--r-- | src/plugins/texteditor/generichighlighter/highlightersettings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/generichighlighter/highlightersettings.h b/src/plugins/texteditor/generichighlighter/highlightersettings.h index 0fbbe7e3ed..323cf833ac 100644 --- a/src/plugins/texteditor/generichighlighter/highlightersettings.h +++ b/src/plugins/texteditor/generichighlighter/highlightersettings.h @@ -88,7 +88,7 @@ inline bool operator!=(const HighlighterSettings &a, const HighlighterSettings & { return !a.equals(b); } namespace Internal { -QString findDefinitionsLocation(); +QString findFallbackDefinitionsLocation(); } } // namespace TextEditor |