Changeset 94 for trunk/src/main.cxx

Show
Ignore:
Timestamp:
04/20/06 06:29:18 (3 years ago)
Author:
jordi
Message:

When the main window is resized or moved, the current position and size is saved to the configuration values.

The configuration now is saved by main.cxx when the application quits correctly.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/main.cxx

    r73 r94  
    2424#include <MainView.h> 
    2525#include "MainPter.h" 
     26#include "Config.h" 
    2627 
    2728 
     
    9293    // the presenter's responsibility. 
    9394    delete mainPter; 
     95 
     96    // Save the configuration. 
     97    Config::getConfig().save (); 
     98     
    9499    // All done!. 
    95100    return EXIT_SUCCESS;