summaryrefslogtreecommitdiffstats
path: root/lib/kross/api/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/api/object.h')
-rw-r--r--lib/kross/api/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kross/api/object.h b/lib/kross/api/object.h
index 87bd2132..f23a6179 100644
--- a/lib/kross/api/object.h
+++ b/lib/kross/api/object.h
@@ -142,7 +142,7 @@ template<class T> inline T* Object::fromObject(Object::Ptr object)
{
T* t = (T*) object.data();
if(! t)
- throw KSharedPtr<Exception>( new Exception(TQString("Object \"%1\" invalid.").tqarg(object ? object->getClassName() : "")) );
+ throw KSharedPtr<Exception>( new Exception(TQString("Object \"%1\" invalid.").arg(object ? object->getClassName() : "")) );
return t;
}