author | zecke <zecke> | 2002-09-27 16:40:56 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-27 16:40:56 (UTC) |
commit | d44b205c9009af71db036b3951363a91110e1c20 (patch) (side-by-side diff) | |
tree | 2896425cec5d015d258069dbf7d9140edd880b7a | |
parent | b575c9fe0f3f4173bdc64004cc13af6323016df1 (diff) | |
download | opie-d44b205c9009af71db036b3951363a91110e1c20.zip opie-d44b205c9009af71db036b3951363a91110e1c20.tar.gz opie-d44b205c9009af71db036b3951363a91110e1c20.tar.bz2 |
the workaround was wrong
-rw-r--r-- | noncore/graphics/drawpad/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/graphics/drawpad/main.cpp b/noncore/graphics/drawpad/main.cpp index cb02301..ec628cc 100644 --- a/noncore/graphics/drawpad/main.cpp +++ b/noncore/graphics/drawpad/main.cpp @@ -10,19 +10,18 @@ * (at your option) any later version. * * * ***************************************************************************/ #include "drawpad.h" #include <qpe/qpeapplication.h> int main(int argc, char **argv) { QPEApplication a(argc, argv); - DrawPad *mw = new DrawPad();; - a.showMainWidget(mw ); + DrawPad mw; // = new DrawPad();; + a.showMainWidget(&mw ); return a.exec(); - delete mw; } |