Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krita
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Hide 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 @@
#include <kpluginfactory.h>
#ifdef CREATE_TEXTDOCUMENT_INSPECTOR
K_PLUGIN_FACTORY
(
TextPluginFactory
,
registerPlugin
<
TextPlugin
>
();
#ifdef CREATE_TEXTDOCUMENT_INSPECTOR
registerPlugin
<
TextDocumentInspectionPlugin
>
(
QLatin1String
(
"TextDocumentInspection"
));
#endif
)
#else
K_PLUGIN_FACTORY
(
TextPluginFactory
,
registerPlugin
<
TextPlugin
>
();
)
#endif
K_EXPORT_PLUGIN
(
TextPluginFactory
(
"TextShape"
))
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