(svn r25288) -Codechange: No need to copy the WindowDesc flags if the WindowDesc is directly accessible.

This commit is contained in:
frosch
2013-05-26 19:24:11 +00:00
parent 56e4a8c4d6
commit b6d76c4d4c
2 changed files with 3 additions and 5 deletions

View File

@@ -297,7 +297,6 @@ public:
Owner owner; ///< The owner of the content shown in this window. Company colour is acquired from this variable.
ViewportData *viewport; ///< Pointer to viewport data, if present.
uint32 desc_flags; ///< Window/widgets default flags setting. @see WindowDefaultFlag
const NWidgetCore *nested_focus; ///< Currently focused nested widget, or \c NULL if no nested widget has focus.
SmallMap<int, QueryString*> querystrings; ///< QueryString associated to WWT_EDITBOX widgets.
NWidgetBase *nested_root; ///< Root of the nested tree.