Commit 9182ca19 authored by Jan Möbius's avatar Jan Möbius
Browse files

No change

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9106 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3969f530
......@@ -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;
}
// ===============================================================================
......
Supports Markdown
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