Commits
38 38 | |
39 39 | int main( int argc, char ** argv ) |
40 40 | { |
41 41 | |
42 42 | // don't let ^C kill the logger... |
43 43 | signal(SIGINT,SIG_IGN); |
44 44 | |
45 45 | //for (int i=0;i<argc;i++) |
46 46 | //std::cerr << "Logviewer wants: " |
47 47 | // << i << " " << argv[i] << std::endl; |
48 - | |
49 48 | Q_INIT_RESOURCE(logviewer); |
50 - | |
51 - | Q_INIT_RESOURCE(QtLogger); |
52 - | |
53 49 | |
54 50 | QApplication a( argc, argv ); |
55 51 | |
56 52 | //std::cerr << "Logviewer wants: " << argv[0] << std::endl; |
57 53 | //std::cerr << "Logviewer wants: " << argv[1] << std::endl; |
58 54 | |
59 55 | char *mylog(0); |
60 56 | if(argc > 1){ |
61 57 | mylog = argv[1]; |
62 58 | } else { |