Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Tusooa Zhu
Krita
Commits
157b438f
Commit
157b438f
authored
Feb 09, 2013
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not use "#ifdef" + "#endif" in parameter to preprocessor macro call (MSVC fails on that)
parent
f335ea11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
plugins/textshape/TextPlugin.cpp
plugins/textshape/TextPlugin.cpp
+6
-2
No files found.
plugins/textshape/TextPlugin.cpp
View file @
157b438f
...
@@ -31,12 +31,16 @@
...
@@ -31,12 +31,16 @@
#include <kpluginfactory.h>
#include <kpluginfactory.h>
#ifdef CREATE_TEXTDOCUMENT_INSPECTOR
K_PLUGIN_FACTORY
(
TextPluginFactory
,
K_PLUGIN_FACTORY
(
TextPluginFactory
,
registerPlugin
<
TextPlugin
>
();
registerPlugin
<
TextPlugin
>
();
#ifdef CREATE_TEXTDOCUMENT_INSPECTOR
registerPlugin
<
TextDocumentInspectionPlugin
>
(
QLatin1String
(
"TextDocumentInspection"
));
registerPlugin
<
TextDocumentInspectionPlugin
>
(
QLatin1String
(
"TextDocumentInspection"
));
#endif
)
)
#else
K_PLUGIN_FACTORY
(
TextPluginFactory
,
registerPlugin
<
TextPlugin
>
();
)
#endif
K_EXPORT_PLUGIN
(
TextPluginFactory
(
"TextShape"
))
K_EXPORT_PLUGIN
(
TextPluginFactory
(
"TextShape"
))
TextPlugin
::
TextPlugin
(
QObject
*
parent
,
const
QVariantList
&
)
TextPlugin
::
TextPlugin
(
QObject
*
parent
,
const
QVariantList
&
)
...
...
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