diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/window.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index b7a7227c8..e22ea3f60 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -123,6 +123,7 @@ Window::Window(const std::string &caption, mDefaultY(0), mDefaultWidth(0), mDefaultHeight(0), + mShowTitle(true), mLastRedraw(true), mGrip(nullptr), mParent(parent), @@ -149,7 +150,6 @@ Window::Window(const std::string &caption, mStickyPadding(0), mCaptionFont(getFont()), mModal(modal), - mShowTitle(true), mCloseWindowButton(false), mDefaultVisible(false), mSaveVisible(false), diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 7d809e7db..277e971bb 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -641,6 +641,7 @@ class Window notfinal : public BasicContainer2, int mDefaultY; /**< Default window Y position */ int mDefaultWidth; /**< Default window width */ int mDefaultHeight; /**< Default window height */ + bool mShowTitle; /**< Window has a title bar */ bool mLastRedraw; private: @@ -707,7 +708,6 @@ class Window notfinal : public BasicContainer2, int mStickyPadding; Font *mCaptionFont A_NONNULLPOINTER; Modal mModal; /**< Window is modal */ - bool mShowTitle; /**< Window has a title bar */ bool mCloseWindowButton; /**< Window has a close button */ bool mDefaultVisible; /**< Window's default visibility */ bool mSaveVisible; /**< Window will save visibility */ |