-rw-r--r-- | noncore/graphics/drawpad/main.cpp | 6 |
1 files changed, 4 insertions, 2 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 | |||
@@ -19,8 +19,10 @@ 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 | } |