-rw-r--r-- | noncore/graphics/drawpad/main.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/graphics/drawpad/main.cpp b/noncore/graphics/drawpad/main.cpp index b362962..cb02301 100644 --- a/noncore/graphics/drawpad/main.cpp +++ b/noncore/graphics/drawpad/main.cpp | |||
@@ -14,13 +14,15 @@ | |||
14 | #include "drawpad.h" | 14 | #include "drawpad.h" |
15 | 15 | ||
16 | #include <qpe/qpeapplication.h> | 16 | #include <qpe/qpeapplication.h> |
17 | 17 | ||
18 | int main(int argc, char **argv) | 18 | int main(int argc, char **argv) |
19 | { | 19 | { |
20 | QPEApplication a(argc, argv); | 20 | QPEApplication a(argc, argv); |
21 | 21 | ||
22 | DrawPad mw; | 22 | DrawPad *mw = new DrawPad();; |
23 | a.showMainWidget(&mw); | 23 | a.showMainWidget(mw ); |
24 | 24 | ||
25 | |||
25 | return a.exec(); | 26 | return a.exec(); |
27 | delete mw; | ||
26 | } | 28 | } |