Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
095f2060
Commit
095f2060
authored
May 12, 2010
by
Kai Koehne
Browse files
QuickDesigner: Fix compiler warning
Reviewed-by: Thomas Hartmann
parent
a68fffd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
View file @
095f2060
...
...
@@ -403,9 +403,16 @@ static inline QColor invertColor(const QColor color)
return
c
;
}
GradientLine
::
GradientLine
(
QWidget
*
parent
)
:
QWidget
(
parent
),
m_activeColor
(
Qt
::
black
),
m_gradientName
(
"gradient"
),
m_dragActive
(
false
),
m_yOffset
(
0
),
m_create
(
false
),
m_active
(
false
),
m_colorIndex
(
0
),
m_dragOff
(
false
)
GradientLine
::
GradientLine
(
QWidget
*
parent
)
:
QWidget
(
parent
),
m_activeColor
(
Qt
::
black
),
m_gradientName
(
"gradient"
),
m_colorIndex
(
0
),
m_dragActive
(
false
),
m_yOffset
(
0
),
m_create
(
false
),
m_active
(
false
),
m_dragOff
(
false
)
{
setSizePolicy
(
QSizePolicy
(
QSizePolicy
::
Expanding
,
QSizePolicy
::
Fixed
));
setFocusPolicy
(
Qt
::
StrongFocus
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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