summaryrefslogtreecommitdiff
path: root/src/gui/itempopup.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 22:21:45 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 22:25:38 +0100
commite4d63db096901c1d67d0feb72d77bc5d0c8ba1b3 (patch)
treeb07ce915d1e5d4cdd83cf4ab858c69d782ab0fe0 /src/gui/itempopup.cpp
parent08c9cde4726f94698ea938d464cd1de95b7be587 (diff)
downloadMana-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.gz
Mana-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.bz2
Mana-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.xz
Mana-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.zip
Removed unnecessary parenthesis at constructors
When not passing any parameters to constructors, there is no reason for using parenthesis.
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r--src/gui/itempopup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp
index ee28435b..9e7cb8a9 100644
--- a/src/gui/itempopup.cpp
+++ b/src/gui/itempopup.cpp
@@ -52,7 +52,7 @@ ItemPopup::ItemPopup():
mItemName->setPosition(2, 2);
// Item Description
- mItemDesc = new TextBox();
+ mItemDesc = new TextBox;
mItemDesc->setEditable(false);
mItemDescScroll = new ScrollArea(mItemDesc);
@@ -63,7 +63,7 @@ ItemPopup::ItemPopup():
mItemDescScroll->setPosition(2, getFont()->getHeight());
// Item Effect
- mItemEffect = new TextBox();
+ mItemEffect = new TextBox;
mItemEffect->setEditable(false);
mItemEffectScroll = new ScrollArea(mItemEffect);
@@ -74,7 +74,7 @@ ItemPopup::ItemPopup():
mItemEffectScroll->setPosition(2, (2 * getFont()->getHeight()) + 5);
// Item Weight
- mItemWeight = new TextBox();
+ mItemWeight = new TextBox;
mItemWeight->setEditable(false);
mItemWeightScroll = new ScrollArea(mItemWeight);