diff options
Diffstat (limited to 'lib/kross/api/list.cpp')
-rw-r--r-- | lib/kross/api/list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kross/api/list.cpp b/lib/kross/api/list.cpp index 3d894116..9e2baf52 100644 --- a/lib/kross/api/list.cpp +++ b/lib/kross/api/list.cpp @@ -51,8 +51,8 @@ Object::Ptr List::item(uint idx, Object* defaultobject) if(idx >= list.count()) { if(defaultobject) return defaultobject; - krossdebug( TQString("List::item index=%1 is out of bounds. Raising TypeException.").tqarg(idx) ); - throw Exception::Ptr( new Exception(TQString("List-index %1 out of bounds.").tqarg(idx)) ); + krossdebug( TQString("List::item index=%1 is out of bounds. Raising TypeException.").arg(idx) ); + throw Exception::Ptr( new Exception(TQString("List-index %1 out of bounds.").arg(idx)) ); } return list[idx]; } |