diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-15 22:21:45 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-15 22:25:38 +0100 |
commit | e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3 (patch) | |
tree | b07ce915d1e5d4cdd83cf4ab858c69d782ab0fe0 /src/gui/gui.cpp | |
parent | 08c9cde4726f94698ea938d464cd1de95b7be587 (diff) | |
download | mana-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/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index a7946993..9b9e74f4 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -97,7 +97,7 @@ Gui::Gui(Graphics *graphics): mFocusHandler = new FocusHandler; // Initialize top GUI widget - WindowContainer *guiTop = new WindowContainer(); + WindowContainer *guiTop = new WindowContainer; guiTop->setDimension(gcn::Rectangle(0, 0, graphics->getWidth(), graphics->getHeight())); guiTop->setOpaque(false); @@ -156,7 +156,7 @@ Gui::Gui(Graphics *graphics): config.addListener("customcursor", mConfigListener); // Create the viewport - viewport = new Viewport(); + viewport = new Viewport; viewport->setDimension(gcn::Rectangle(0, 0, graphics->getWidth(), graphics->getHeight())); guiTop->add(viewport); |