author | zecke <zecke> | 2004-11-15 14:45:23 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-15 14:45:23 (UTC) |
commit | 74febba2749d3a8eefc13c1f46a0f7f5fc095d5a (patch) (side-by-side diff) | |
tree | 421efd9b22184e94bf4dfdcd02e83fd567cece8f /noncore/games/sfcave/sfcave.cpp | |
parent | 2423fe1ba41caf6977afaf7df3156522b54db819 (diff) | |
download | opie-74febba2749d3a8eefc13c1f46a0f7f5fc095d5a.zip opie-74febba2749d3a8eefc13c1f46a0f7f5fc095d5a.tar.gz opie-74febba2749d3a8eefc13c1f46a0f7f5fc095d5a.tar.bz2 |
-Make HELP_TEXT translatable
-Make HelpWindow a QWidget
Diffstat (limited to 'noncore/games/sfcave/sfcave.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/sfcave/sfcave.cpp | 7 |
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 @@ -4,10 +4,10 @@ #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" @@ -1139,9 +1139,8 @@ void SFCave :: dealWithMenuSelection() case MENU_HELP: { // Display Help Menu - HelpWindow *dlg = new HelpWindow( this ); - dlg->exec(); - delete dlg; + HelpWindow *win = new HelpWindow( ); + QPEApplication::showWidget( win ); break; } |