summaryrefslogtreecommitdiff
path: root/src/gui/window.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/window.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/window.cpp')
-rw-r--r--src/gui/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index 797b4be9..ee5613bc 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -87,7 +87,7 @@ Window::Window(const std::string& caption, bool modal, Window *parent, const std
if (instances == 0)
{
- windowConfigListener = new WindowConfigListener();
+ windowConfigListener = new WindowConfigListener;
// Send GUI alpha changed for initialization
windowConfigListener->optionChanged("guialpha");
config.addListener("guialpha", windowConfigListener);
@@ -244,7 +244,7 @@ void Window::setResizable(bool r)
if (r)
{
- mGrip = new ResizeGrip();
+ mGrip = new ResizeGrip;
mGrip->setX(getWidth() - mGrip->getWidth() - getChildrenArea().x);
mGrip->setY(getHeight() - mGrip->getHeight() - getChildrenArea().y);
add(mGrip);