--Boundary-00=_xl2b9XOiOwO1tVg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 29 August 2002 23:03, Daniel Loomis wrote: > In method `void BoardDisplay::butttonPressed ()': display widget.cpp:62: > cannot convert `const QObject *' to `QObject *' in initialization > > Is there a workaround for this problem? Use the attached patch which was committed to CVS shortly after the release. Rob =2D-=20 Rob Kaper | Gimme some love, gimme some skin, cap@capsi.com | if we ain't got that then we ain't got much www.capsi.com | and we ain't got nothing, nothing! -- "Nothing" by A --Boundary-00=_xl2b9XOiOwO1tVg Content-Type: text/x-diff; charset="iso-8859-1"; name="display_widget.cpp.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="display_widget.cpp.diff" =================================================================== RCS file: /home/kde/kdegames/atlantik/libatlantikui/display_widget.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- kdegames/atlantik/libatlantikui/display_widget.cpp 2002/07/23 23:39:41 1.14 +++ kdegames/atlantik/libatlantikui/display_widget.cpp 2002/07/29 09:03:02 1.15 @@ -59,7 +59,7 @@ void BoardDisplay::buttonPressed() { - QObject *o = QObject::sender(); + QObject *o = const_cast(QObject::sender()); emit buttonCommand(m_buttonCommandMap[o]); } --Boundary-00=_xl2b9XOiOwO1tVg-- _______________________________________________ atlantik-devel mailing list atlantik-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/atlantik-devel