Commit 32ac5c02 authored by Jan Möbius's avatar Jan Möbius

No change

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9106 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 71a4cf58
......@@ -321,11 +321,10 @@ bool getObject( const int _identifier , BaseObjectData*& _object ) {
}
int getObjectId( const QString _name ) {
if(_name.isEmpty()) return -1;
if(_name.isEmpty()) return -1;
BaseObject* object = objectRoot_->childExists( _name );
return object ? object->id() : -1;
BaseObject* object = objectRoot_->childExists( _name );
return object ? object->id() : -1;
}
// ===============================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment