Subversion Repositories tpanel

Rev

Rev 92 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 92 Rev 93
Line 199... Line 199...
199
 * classes and waits until the main loop ends.
199
 * classes and waits until the main loop ends.
200
 * It is also called if the program have to start over. This happens when
200
 * It is also called if the program have to start over. This happens when
201
 * the settings change the host, port or channel ID, or after receiving a new
201
 * the settings change the host, port or channel ID, or after receiving a new
202
 * surface.
202
 * surface.
203
 *
203
 *
204
 * @param oldArgc   This is the previous parameter counter.
204
 * @param oldArgc   This is the previous parameter counter (only for desktop).
205
 * @param argc      This is the actual parameter counter.
205
 * @param argc      This is the actual parameter counter.
206
 * @param argv      This is the pointer array to the environment.
206
 * @param argv      This is the pointer array to the environment.
207
 *
207
 *
208
 * @return of success TRUE is returned. Otherwise FALSE.
208
 * @return of success TRUE is returned. Otherwise FALSE.
209
 */
209
 */
Line 226... Line 226...
226
    int pt = 0;
226
    int pt = 0;
227
#endif
227
#endif
228
    // Start the graphical environment
228
    // Start the graphical environment
229
    int ret = 0;
229
    int ret = 0;
230
 
230
 
-
 
231
    // The _restart_ variable is reset in class initialization MainWindow.
231
    ret = qtmain(argc, &argv[pt], pageManager);
232
    ret = qtmain(argc, &argv[pt], pageManager);
232
    delete pageManager;
233
    delete pageManager;
233
 
234
 
234
    if (ret != 0)
235
    if (ret != 0)
235
        return false;
236
        return false;