Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
70219969
Commit
70219969
authored
Jan 17, 2021
by
Dominik Haumann
Committed by
Jan Paul Batrina
Jan 19, 2021
Browse files
Initialize changed flag to false in color picker config page
parent
31182d3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
addons/colorpicker/colorpickerconfigpage.cpp
View file @
70219969
...
...
@@ -31,7 +31,6 @@ KTextEditor::ConfigPage *KateColorPickerPlugin::configPage(int number, QWidget *
KateColorPickerConfigPage
::
KateColorPickerConfigPage
(
QWidget
*
parent
,
KateColorPickerPlugin
*
plugin
)
:
KTextEditor
::
ConfigPage
(
parent
)
,
m_plugin
(
plugin
)
,
m_colorConfigChanged
(
true
)
{
QVBoxLayout
*
layout
=
new
QVBoxLayout
(
this
);
layout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
...
...
addons/colorpicker/colorpickerconfigpage.h
View file @
70219969
...
...
@@ -39,7 +39,7 @@ private:
QCheckBox
*
chkPreviewAfterColor
;
QMap
<
int
,
QCheckBox
*>
chkHexLengths
;
KateColorPickerPlugin
*
m_plugin
;
bool
m_colorConfigChanged
;
bool
m_colorConfigChanged
=
false
;
};
#endif // KATE_COLORPICKER_H
Write
Preview
Supports
Markdown
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