summaryrefslogtreecommitdiff
authorzecke <zecke>2002-09-27 16:40:56 (UTC)
committer zecke <zecke>2002-09-27 16:40:56 (UTC)
commitd44b205c9009af71db036b3951363a91110e1c20 (patch) (unidiff)
tree2896425cec5d015d258069dbf7d9140edd880b7a
parentb575c9fe0f3f4173bdc64004cc13af6323016df1 (diff)
downloadopie-d44b205c9009af71db036b3951363a91110e1c20.zip
opie-d44b205c9009af71db036b3951363a91110e1c20.tar.gz
opie-d44b205c9009af71db036b3951363a91110e1c20.tar.bz2
the workaround was wrong
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/main.cpp5
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
@@ -1,28 +1,27 @@
1/*************************************************************************** 1/***************************************************************************
2 * * 2 * *
3 * DrawPad - a drawing program for Opie Environment * 3 * DrawPad - a drawing program for Opie Environment *
4 * * 4 * *
5 * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * 5 * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> *
6 * * 6 * *
7 * This program is free software; you can redistribute it and/or modify * 7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by * 8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or * 9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. * 10 * (at your option) any later version. *
11 * * 11 * *
12 ***************************************************************************/ 12 ***************************************************************************/
13 13
14#include "drawpad.h" 14#include "drawpad.h"
15 15
16#include <qpe/qpeapplication.h> 16#include <qpe/qpeapplication.h>
17 17
18int main(int argc, char **argv) 18int main(int argc, char **argv)
19{ 19{
20 QPEApplication a(argc, argv); 20 QPEApplication a(argc, argv);
21 21
22 DrawPad *mw = new DrawPad();; 22 DrawPad mw; // = new DrawPad();;
23 a.showMainWidget(mw ); 23 a.showMainWidget(&mw );
24 24
25 25
26 return a.exec(); 26 return a.exec();
27 delete mw;
28} 27}