summaryrefslogtreecommitdiff
path: root/library/qpeapplication.h
authorzecke <zecke>2005-10-04 19:38:19 (UTC)
committer zecke <zecke>2005-10-04 19:38:19 (UTC)
commit31777172abf127e00594790e4365dfad8772b100 (patch) (side-by-side diff)
tree12fe51bdf3839d056a661f65f2741d651ce0c8f3 /library/qpeapplication.h
parentd6a6706d2a2511fce8179499dec23c91c14432b1 (diff)
downloadopie-31777172abf127e00594790e4365dfad8772b100.zip
opie-31777172abf127e00594790e4365dfad8772b100.tar.gz
opie-31777172abf127e00594790e4365dfad8772b100.tar.bz2
libqpe:
My QPEApplication does not have a public copy constructor. so we simply avoid using it by creation the application directly.
Diffstat (limited to 'library/qpeapplication.h') (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h
index cff3e43..6486cad 100644
--- a/library/qpeapplication.h
+++ b/library/qpeapplication.h
@@ -224,9 +224,9 @@ inline void QPEApplication::setCurrentRotation( int r )
*/
#define QTOPIA_ADD_APPLICATION(NAME,IMPLEMENTATION) \
int main( int argc, char** argv ) \
{ \
- QPEApplication app = QPEApplication( argc, argv ); \
+ QPEApplication app( argc, argv ); \
IMPLEMENTATION* mw = new IMPLEMENTATION(); \
app.showMainWidget( mw ); \
app.exec(); \
}