summaryrefslogtreecommitdiff
path: root/src/gui/setup_audio.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 00:44:12 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 00:51:30 +0200
commitaefbc69aac9f7c793725153eefce2631555bfd1f (patch)
treedc43d7d5cb5cf84373ee43a02998349d1deb3e0c /src/gui/setup_audio.cpp
parent3b229e19c2b7545a71a066383872acd5d9348e41 (diff)
downloadmana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.gz
mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.bz2
mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.xz
mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.zip
Associated setup tab name with the tab itself
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
Diffstat (limited to 'src/gui/setup_audio.cpp')
-rw-r--r--src/gui/setup_audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_audio.cpp b/src/gui/setup_audio.cpp
index 78817328..c0c2b9e4 100644
--- a/src/gui/setup_audio.cpp
+++ b/src/gui/setup_audio.cpp
@@ -44,7 +44,7 @@ Setup_Audio::Setup_Audio():
mSfxSlider(new Slider(0, 128)),
mMusicSlider(new Slider(0, 128))
{
- setOpaque(false);
+ setName(_("Audio"));
setDimension(gcn::Rectangle(0, 0, 250, 200));
gcn::Label *sfxLabel = new Label(_("Sfx volume"));