diff options
author | Max Horn | 2003-11-01 20:52:41 +0000 |
---|---|---|
committer | Max Horn | 2003-11-01 20:52:41 +0000 |
commit | f7ab7f62075107a8afbc071555b25612320664b9 (patch) | |
tree | 5151bc75f8e37ccf833f42f03699811df1c7c928 /backends/dc | |
parent | e6eb3e234d4188a6753bfa3bf0cf637e6c716316 (diff) | |
download | scummvm-rg350-f7ab7f62075107a8afbc071555b25612320664b9.tar.gz scummvm-rg350-f7ab7f62075107a8afbc071555b25612320664b9.tar.bz2 scummvm-rg350-f7ab7f62075107a8afbc071555b25612320664b9.zip |
cleanup: new MessageDialog subclass TimedMessageDialog
svn-id: r11033
Diffstat (limited to 'backends/dc')
-rw-r--r-- | backends/dc/vmsave.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/dc/vmsave.cpp b/backends/dc/vmsave.cpp index 0a090cd244..9b57e583b8 100644 --- a/backends/dc/vmsave.cpp +++ b/backends/dc/vmsave.cpp @@ -69,9 +69,8 @@ static void displaySaveResult(vmsaveResult res) break; } - Dialog *dialog = new MessageDialog(g_gui, buf); - dialog->runModal(); - delete dialog; + MessageDialog dialog(g_gui, buf); + dialog.runModal(); } static vmsaveResult trySave(const char *gamename, const char *data, int size, |