changeset 2523 | 7fc37a16f405 |
parent 2517 | 6ed1fba6da18 |
child 2750 | 0585262f76f6 |
--- a/QTfrontend/main.cpp Sat Oct 17 13:11:07 2009 +0000 +++ b/QTfrontend/main.cpp Sat Oct 17 13:19:49 2009 +0000 @@ -24,8 +24,6 @@ #include <QRegExp> #include <QMap> -char *programname; - #include "hwform.h" #include "hwconsts.h" @@ -44,10 +42,7 @@ return true; } -int main(int argc, char *argv[]) { - - programname = argv[0]; - +int main(int argc, char *argv[]) { QApplication app(argc, argv); QStringList arguments = app.arguments();