diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-24 22:42:33 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-24 22:43:04 +0100 |
commit | f4704ccd2a71ca222d8584aac42c80d346a0b688 (patch) | |
tree | 235f4c1bb016656aed477ece08d9793c1668b024 /src/gui/setup_video.cpp | |
parent | 606541e5611737a9e13148f7007df7670d74e132 (diff) | |
download | mana-f4704ccd2a71ca222d8584aac42c80d346a0b688.tar.gz mana-f4704ccd2a71ca222d8584aac42c80d346a0b688.tar.bz2 mana-f4704ccd2a71ca222d8584aac42c80d346a0b688.tar.xz mana-f4704ccd2a71ca222d8584aac42c80d346a0b688.zip |
Fixed compile warnings
Order of initialization and suggested parenthesis.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 37197cd2..b019edb9 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -121,6 +121,10 @@ Setup_Video::Setup_Video(): mCustomCursorCheckBox(new CheckBox(_("Custom cursor"), mCustomCursorEnabled)), mParticleEffectsCheckBox(new CheckBox(_("Particle effects"), mParticleEffectsEnabled)), mNameCheckBox(new CheckBox(_("Show name"), mNameEnabled)), + mPickupNotifyLabel(new gcn::Label(_("Show pickup notification"))), + mPickupChatCheckBox(new CheckBox(_("in chat"), mPickupChatEnabled)), + mPickupParticleCheckBox(new CheckBox(_("as particle"), + mPickupParticleEnabled)), mSpeechSlider(new Slider(0, 3)), mSpeechLabel(new gcn::Label("")), mAlphaSlider(new Slider(0.2, 1.0)), @@ -138,11 +142,7 @@ Setup_Video::Setup_Video(): mOverlayDetailField(new gcn::Label("")), mParticleDetail(3 - (int) config.getValue("particleEmitterSkip", 1)), mParticleDetailSlider(new Slider(0, 3)), - mParticleDetailField(new gcn::Label("")), - mPickupNotifyLabel(new gcn::Label(_("Show pickup notification"))), - mPickupChatCheckBox(new CheckBox(_("in chat"), mPickupChatEnabled)), - mPickupParticleCheckBox(new CheckBox(_("as particle"), - mPickupParticleEnabled)) + mParticleDetailField(new gcn::Label("")) { setOpaque(false); |