summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widget2.h')
-rw-r--r--src/gui/widgets/widget2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/widget2.h b/src/gui/widgets/widget2.h
index 053b1560f..d657567ad 100644
--- a/src/gui/widgets/widget2.h
+++ b/src/gui/widgets/widget2.h
@@ -29,12 +29,14 @@ class Widget2
{
public:
Widget2() :
- mPaletteOffset(0)
+ mPaletteOffset(0),
+ mForegroundColor2()
{
}
explicit Widget2(const Widget2 *const widget) :
- mPaletteOffset(widget ? widget->mPaletteOffset : 0)
+ mPaletteOffset(widget ? widget->mPaletteOffset : 0),
+ mForegroundColor2()
{
checkPalette();
}