From e7c2c104d59ef090fbc2f7dbcb052e22e0f5d591 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 26 Sep 2002 17:15:24 +0000 Subject: temporaray work around for a crash Double deletion of the setMainWindow happens.... --- 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) { QPEApplication a(argc, argv); - DrawPad mw; - a.showMainWidget(&mw); - + DrawPad *mw = new DrawPad();; + a.showMainWidget(mw ); + + return a.exec(); + delete mw; } -- cgit v0.9.0.2