Ignore:
Timestamp:
11/21/03 17:51:54 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/status.cc

    r2549 r2551  
    149149    //
    150150    MStatusDisplay *d = new MStatusDisplay;
     151
     152    // From now on each 'Exit' means: Terminate the application
     153    d->SetBit(MStatusDisplay::kExitLoopOnExit);
    151154
    152155    // Set update time to 5s
     
    299302    tlist.PrintStatistics();
    300303
     304    if (!evtloop.GetDisplay())
     305        return 0;
     306
     307    // From now on each 'Close' means: Terminate the application
     308    d->SetBit(MStatusDisplay::kExitLoopOnClose);
     309
     310    // Wait until the user decides to exit the application
     311    app.Run(kFALSE);
    301312    return 0;
    302313}
Note: See TracChangeset for help on using the changeset viewer.