--- 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"]);