summaryrefslogtreecommitdiffstats
path: root/knights/thinbuttons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knights/thinbuttons.cpp')
-rw-r--r--knights/thinbuttons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/knights/thinbuttons.cpp b/knights/thinbuttons.cpp
index 0bb04a9..4a38dbe 100644
--- a/knights/thinbuttons.cpp
+++ b/knights/thinbuttons.cpp
@@ -175,7 +175,7 @@ void thinbuttons::buttonClicked( void )
int Clicked;
unsigned int tmp;
- incomming = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()));
+ incomming = sender();
for( tmp = 0; tmp < buttons.count(); tmp++ )
if( buttons.at( tmp )->button == ( const TQButton* )incomming )
{