From a71b9d79a05ab2b6bc891afe4df4d5fdcf641550 Mon Sep 17 00:00:00 2001 From: sandman Date: Fri, 22 Nov 2002 21:57:47 +0000 Subject: Added some code for backward compatibility .. this enabled tkc apps with custom window decoration to work on Opie (the X and OK button have a 1 pixel offset though, but I can't do anything about it) --- (limited to 'library/qpedecoration_qws.cpp') diff --git a/library/qpedecoration_qws.cpp b/library/qpedecoration_qws.cpp index 9cbe92b..6221f5b 100644 --- a/library/qpedecoration_qws.cpp +++ b/library/qpedecoration_qws.cpp @@ -504,6 +504,11 @@ QPEDecoration::QPEDecoration() qDebug ( "Checking %s/%s for help: %d", (*it).latin1(), helpFile.latin1(),helpExists); } qpeManager = new QPEManager( this ); + + // for backward compatibility: + imageOk = *okImage ( 15 ); + imageClose = *closeImage ( 15 ); + imageHelp = *helpImage ( 15 ); } QPEDecoration::QPEDecoration( const QString &plugin ) -- cgit v0.9.0.2