From df5cd98862d5328c6765b992a3a6e1b3458a1d8a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 18:28:37 +0300 Subject: Derive all widgets from Widget2 class. --- src/gui/widgets/progressindicator.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/progressindicator.h') diff --git a/src/gui/widgets/progressindicator.h b/src/gui/widgets/progressindicator.h index d96cc8f8c..56f2daff5 100644 --- a/src/gui/widgets/progressindicator.h +++ b/src/gui/widgets/progressindicator.h @@ -22,6 +22,8 @@ #ifndef PROGRESSINDICATOR_H #define PROGRESSINDICATOR_H +#include "gui/widgets/widget2.h" + #include #include "localconsts.h" @@ -32,7 +34,8 @@ class SimpleAnimation; * A widget that indicates progress. Suitable to use instead of a progress bar * in cases where it is unknown how long something is going to take. */ -class ProgressIndicator final : public gcn::Widget +class ProgressIndicator final : public gcn::Widget, + public Widget2 { public: ProgressIndicator(); -- cgit v1.2.3-70-g09d2