Changeset View
Changeset View
Standalone View
Standalone View
src/lib/repository.cpp
Show All 38 Lines | |||||
39 | #include <QStandardPaths> | 39 | #include <QStandardPaths> | ||
40 | 40 | | |||
41 | #include <limits> | 41 | #include <limits> | ||
42 | 42 | | |||
43 | using namespace KSyntaxHighlighting; | 43 | using namespace KSyntaxHighlighting; | ||
44 | 44 | | |||
45 | static void initResource() | 45 | static void initResource() | ||
46 | { | 46 | { | ||
47 | #ifdef HAS_SYNTAX_RESOURCE | ||||
47 | Q_INIT_RESOURCE(syntax_data); | 48 | Q_INIT_RESOURCE(syntax_data); | ||
49 | #endif | ||||
48 | Q_INIT_RESOURCE(theme_data); | 50 | Q_INIT_RESOURCE(theme_data); | ||
49 | } | 51 | } | ||
50 | 52 | | |||
51 | RepositoryPrivate* RepositoryPrivate::get(Repository *repo) | 53 | RepositoryPrivate* RepositoryPrivate::get(Repository *repo) | ||
52 | { | 54 | { | ||
53 | return repo->d.get(); | 55 | return repo->d.get(); | ||
54 | } | 56 | } | ||
55 | 57 | | |||
▲ Show 20 Lines • Show All 234 Lines • Show Last 20 Lines |