summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 18:35:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 18:35:21 +0300
commit71f88c02f79a1164430eec1de3e15edec011a15e (patch)
tree6a0772ee943a41314b5abd92fed0ce269faced27 /src/gui/widgets/setuptab.h
parent6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (diff)
downloadmanaverse-71f88c02f79a1164430eec1de3e15edec011a15e.tar.gz
manaverse-71f88c02f79a1164430eec1de3e15edec011a15e.tar.bz2
manaverse-71f88c02f79a1164430eec1de3e15edec011a15e.tar.xz
manaverse-71f88c02f79a1164430eec1de3e15edec011a15e.zip
improve construcors in abstract classes.
Also add some missing final to classes.
Diffstat (limited to 'src/gui/widgets/setuptab.h')
-rw-r--r--src/gui/widgets/setuptab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/setuptab.h b/src/gui/widgets/setuptab.h
index 8e656234f..ab866ba28 100644
--- a/src/gui/widgets/setuptab.h
+++ b/src/gui/widgets/setuptab.h
@@ -40,8 +40,6 @@ class SetupTab : public Container,
public gcn::WidgetListener
{
public:
- explicit SetupTab(const Widget2 *const widget);
-
A_DELETE_COPY(SetupTab)
const std::string &getName() const A_WARN_UNUSED
@@ -60,6 +58,8 @@ class SetupTab : public Container,
virtual void externalUpdated();
protected:
+ explicit SetupTab(const Widget2 *const widget);
+
/**
* Sets the name displayed on the tab. Should be set in the
* constructor of a subclass.