summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave/sfcave.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/sfcave/sfcave.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/sfcave/sfcave.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/games/sfcave/sfcave.cpp b/noncore/games/sfcave/sfcave.cpp
index d5aa38a..a6c92a0 100644
--- a/noncore/games/sfcave/sfcave.cpp
+++ b/noncore/games/sfcave/sfcave.cpp
@@ -1,16 +1,16 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <opie2/oapplicationfactory.h>
+#include <qpe/qpeapplication.h>
#include <qpe/config.h>
#include <qpe/global.h>
-#include <qapplication.h>
#include <qdir.h>
#include "helpwindow.h"
#include "sfcave.h"
#define CAPTION "SFCave 1.13 by AndyQ"
@@ -1136,15 +1136,14 @@ void SFCave :: dealWithMenuSelection()
currentMenuOption[currentMenuNr] = 0;
break;
case MENU_HELP:
{
// Display Help Menu
- HelpWindow *dlg = new HelpWindow( this );
- dlg->exec();
- delete dlg;
+ HelpWindow *win = new HelpWindow( );
+ QPEApplication::showWidget( win );
break;
}
case MENU_QUIT:
QApplication::exit();
break;