diff options
author | Cedric Borgese <cedric.borgese@gmail.com> | 2005-07-19 16:57:05 +0000 |
---|---|---|
committer | Cedric Borgese <cedric.borgese@gmail.com> | 2005-07-19 16:57:05 +0000 |
commit | 025a25afacc724ea41d0856822f748925c763054 (patch) | |
tree | a83976e97db7adba5f298def4bf7f58c39e67ed6 /src/main.cpp | |
parent | f3c21ab9c33ef60362eff046b97b886f3f2bd26f (diff) | |
download | mana-025a25afacc724ea41d0856822f748925c763054.tar.gz mana-025a25afacc724ea41d0856822f748925c763054.tar.bz2 mana-025a25afacc724ea41d0856822f748925c763054.tar.xz mana-025a25afacc724ea41d0856822f748925c763054.zip |
Rewrite UpdaterWindow in a more object oriented style.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 908be46a..7cc83be5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -439,7 +439,9 @@ int main(int argc, char *argv[]) graphics->updateScreen(); break; case UPDATE: - updateData(); + UpdaterWindow *uw = new UpdaterWindow(); + uw->updateData(); + delete uw; break; default: state = EXIT; |