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
Miguel Lopez
Krita
Commits
d30bf131
Commit
d30bf131
authored
Jan 13, 2015
by
Dmitry Kazakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix uninitialized variables warnings
parent
c8709b33
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
krita/image/brushengine/kis_paintop.cc
krita/image/brushengine/kis_paintop.cc
+2
-1
krita/image/brushengine/kis_paintop_preset.cpp
krita/image/brushengine/kis_paintop_preset.cpp
+3
-2
krita/ui/canvas/kis_display_color_converter.cpp
krita/ui/canvas/kis_display_color_converter.cpp
+3
-0
No files found.
krita/image/brushengine/kis_paintop.cc
View file @
d30bf131
...
@@ -58,7 +58,8 @@ struct KisPaintOp::Private {
...
@@ -58,7 +58,8 @@ struct KisPaintOp::Private {
:
q
(
_q
),
dab
(
0
),
:
q
(
_q
),
dab
(
0
),
currentScale
(
1.0
),
currentScale
(
1.0
),
currentRotation
(
0
),
currentRotation
(
0
),
fanCornersEnabled
(
false
)
{}
fanCornersEnabled
(
false
),
fanCornersStep
(
1.0
)
{}
KisPaintOp
*
q
;
KisPaintOp
*
q
;
...
...
krita/image/brushengine/kis_paintop_preset.cpp
View file @
d30bf131
...
@@ -42,7 +42,9 @@
...
@@ -42,7 +42,9 @@
struct
KisPaintOpPreset
::
Private
{
struct
KisPaintOpPreset
::
Private
{
Private
()
Private
()
:
settings
(
0
)
{
:
settings
(
0
),
dirtyPreset
(
false
)
{
}
}
KisPaintOpSettingsSP
settings
;
KisPaintOpSettingsSP
settings
;
...
@@ -55,7 +57,6 @@ KisPaintOpPreset::KisPaintOpPreset()
...
@@ -55,7 +57,6 @@ KisPaintOpPreset::KisPaintOpPreset()
:
KoResource
(
QString
())
:
KoResource
(
QString
())
,
m_d
(
new
Private
)
,
m_d
(
new
Private
)
{
{
m_d
->
dirtyPreset
=
false
;
}
}
KisPaintOpPreset
::
KisPaintOpPreset
(
const
QString
&
fileName
)
KisPaintOpPreset
::
KisPaintOpPreset
(
const
QString
&
fileName
)
...
...
krita/ui/canvas/kis_display_color_converter.cpp
View file @
d30bf131
...
@@ -50,6 +50,9 @@ struct KisDisplayColorConverter::Private
...
@@ -50,6 +50,9 @@ struct KisDisplayColorConverter::Private
paintingColorSpace
(
0
),
paintingColorSpace
(
0
),
monitorColorSpace
(
0
),
monitorColorSpace
(
0
),
monitorProfile
(
0
),
monitorProfile
(
0
),
renderingIntent
(
KoColorConversionTransformation
::
InternalRenderingIntent
),
conversionFlags
(
KoColorConversionTransformation
::
InternalConversionFlags
),
displayFilter
(
0
),
intermediateColorSpace
(
0
),
intermediateColorSpace
(
0
),
displayRenderer
(
new
DisplayRenderer
(
_q
,
_parentCanvas
))
displayRenderer
(
new
DisplayRenderer
(
_q
,
_parentCanvas
))
{
{
...
...
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