Subversion Repositories svn1

Rev

Rev 173 | Rev 175 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 173 Rev 174
Line 105... Line 105...
105
            file_name = argv[0];
105
            file_name = argv[0];
106
        }
106
        }
107
    }
107
    }
108
 
108
 
109
    QmConfig EventConfig(file_name);
109
    QmConfig EventConfig(file_name);
110
 
-
 
111
    /*
-
 
112
    **  Validate parameters
-
 
113
    **  Filename must be supplied
-
 
114
    */
-
 
115
 
-
 
116
    if ( file_name == NULL )
-
 
117
    {
-
 
118
        qFatal("No marathon file name on command line");
-
 
119
    }
-
 
120
 
-
 
121
    /*
-
 
122
    **  Process the configuration file
-
 
123
    */
-
 
124
    if( !configure( file_name, FALSE ) )
-
 
125
    {
-
 
126
        qFatal("Program aborted. Config error" );
-
 
127
    }
-
 
128
 
-
 
129
    if( ! init_team_data() )
110
    init_team_data();
130
    {
-
 
131
        qFatal( "Program aborted. Team Data error" );
-
 
132
    }
-
 
133
 
111
 
134
    MainWindow w;
112
    MainWindow w;
135
    w.show();
113
    w.show();
136
 
114
 
137
    MainWindow::showMessage ("Mara Started", 5000);
115
    MainWindow::showMessage ("Mara Started", 5000);