diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 19:23:34 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 20:18:11 +0100 |
commit | ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2 (patch) | |
tree | eba1b1374325047de928490f96fc16cbf5477d70 /src/main.cpp | |
parent | 74f23fd3d0e1fb3be8e5419193d57d91746c887a (diff) | |
download | mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.gz mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.bz2 mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.xz mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.zip |
Removed unnecessary parenthesis on constructors
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8fe1de86..321a4ee0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1048,7 +1048,7 @@ int main(int argc, char *argv[]) initHomeDir(); // Configure logger - logger = new Logger(); + logger = new Logger; logger->setLogFile(homeDir + std::string("/tmw.log")); logger->setLogToStandardOut(config.getValue("logToStandardOut", 0)); @@ -1088,7 +1088,7 @@ int main(int argc, char *argv[]) top->add(versionLabel, 25, 2); #endif ProgressBar *progressBar = new ProgressBar(0.0f, 100, 20, 168, 116, 31); - gcn::Label *progressLabel = new Label(); + gcn::Label *progressLabel = new Label; top->add(progressBar, 5, top->getHeight() - 5 - progressBar->getHeight()); top->add(progressLabel, 15 + progressBar->getWidth(), progressBar->getY() + 4); |