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/char_server.cpp | |
parent | 08c9cde4726f94698ea938d464cd1de95b7be587 (diff) | |
download | mana-client-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.gz mana-client-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.bz2 mana-client-e4d63db096901c1d67d0feb72d77bc5d0c8ba1b3.tar.xz mana-client-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/char_server.cpp')
-rw-r--r-- | src/gui/char_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp index bc096379..8e7b0dbc 100644 --- a/src/gui/char_server.cpp +++ b/src/gui/char_server.cpp @@ -50,7 +50,7 @@ ServerSelectDialog::ServerSelectDialog(LoginData *loginData, int nextState): mLoginData(loginData), mNextState(nextState) { - mServerListModel = new ServerListModel(); + mServerListModel = new ServerListModel; mServerList = new ListBox(mServerListModel); ScrollArea *mScrollArea = new ScrollArea(mServerList); mOkButton = new Button(_("OK"), "ok", this); |