QTfrontend/main.cpp
changeset 5257 0bbdd47522b9
parent 5252 ded882439548
child 5276 562070d3f978
--- a/QTfrontend/main.cpp	Sun Jun 19 00:49:13 2011 +0200
+++ b/QTfrontend/main.cpp	Sun Jun 19 12:34:54 2011 +0200
@@ -57,9 +57,6 @@
 
     QStringList arguments = app.arguments();
     QMap<QString, QString> parsedArgs;
-#ifndef __APPLE__
-//HACK: it's difficult/rarely done to use command line args on macs anyways
-//      but why does this section of code make the app crash when opening a file?
     {
         QList<QString>::iterator i = arguments.begin();
         while(i != arguments.end()) {
@@ -74,7 +71,6 @@
             }
         }
     }
-#endif
 
     if(parsedArgs.contains("data-dir")) {
         QFileInfo f(parsedArgs["data-dir"]);