use changed GlobalSettings method
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 5 Jul 2008 13:53:46 +0000 (15:53 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 5 Jul 2008 13:53:46 +0000 (15:53 +0200)
Main.cpp

index 364d62b..6b5f39f 100644 (file)
--- a/Main.cpp
+++ b/Main.cpp
@@ -22,7 +22,7 @@ int main(int argc, char** argv) {
                if (!strcmp("--help", currentArgument) || !strcmp("-h", currentArgument)) {
                        printSyntaxHelp();
                } else if (!strcmp("--verbose", currentArgument) || !strcmp("-v", currentArgument)) {
-                       GlobalSettings::getInstance()->setVerbose(true);
+                       GlobalSettings::setVerbose(true);
                } else if (!strcmp("--file", currentArgument) || !strcmp("-f", currentArgument)) {
                        fileToOpen = currentArgument;
                } else {