From e153ea49f7442a82651e4e35f2be59c459ad32cb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 9 Oct 2013 01:36:40 +0300 Subject: Use all parameters in browserbox constructors. Also load browserbox skin for each instance. --- src/gui/widgets/browserbox.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/browserbox.h') diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index 91d8233ed..f57519700 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -111,8 +111,8 @@ class BrowserBox final : public gcn::Widget, * Constructor. */ BrowserBox(const Widget2 *const widget, - const unsigned int mode = AUTO_SIZE, - const bool opaque = true); + const unsigned int mode, + const bool opaque); A_DELETE_COPY(BrowserBox) @@ -253,6 +253,7 @@ class BrowserBox final : public gcn::Widget, Links mLinks; LinkHandler *mLinkHandler; + Skin *mSkin; unsigned int mMode; unsigned int mHighMode; int mSelectedLink; @@ -277,7 +278,6 @@ class BrowserBox final : public gcn::Widget, bool mEnableKeys; bool mEnableTabs; - static Skin *mSkin; static ImageSet *mEmotes; static int mInstances; }; -- cgit v1.2.3-60-g2f50