Skip to content

Commit

Permalink
GUI2/Styled Widget: removed now-unnecessary friend declaration for th…
Browse files Browse the repository at this point in the history
…e window class

The refactoring referred to in the comments has now been done (ea15d45).
  • Loading branch information
Vultraz committed Aug 25, 2017
1 parent 407486b commit 99c5cb0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/gui/widgets/styled_widget.hpp
Expand Up @@ -182,17 +182,6 @@ class styled_widget : public widget

/***** ***** ***** ***** Inherited ***** ***** ***** *****/

private:
/**
* Uses the load function.
*
* @note This doesn't look really clean, but the final goal is refactor
* more code and call load_config in the ctor, removing the use case for
* the window. That however is a longer termine refactoring.
*/
friend class window;

public:
/** See @ref widget::find_at. */
virtual widget* find_at(const point& coordinate,
const bool must_be_active) override;
Expand Down

0 comments on commit 99c5cb0

Please sign in to comment.