diff options
Diffstat (limited to 'src/gui/widgets/widget2.h')
-rw-r--r-- | src/gui/widgets/widget2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/widget2.h b/src/gui/widgets/widget2.h index 314b95105..8a602be63 100644 --- a/src/gui/widgets/widget2.h +++ b/src/gui/widgets/widget2.h @@ -31,6 +31,11 @@ class Widget2 { } + Widget2(const Widget2 *const widget) : + mPalette(widget ? widget->mPalette : 1) + { + } + ~Widget2() { } |