Commit 0e334963 authored by Jan Möbius's avatar Jan Möbius

Removed updatedObject Calls fromDatacontrol as they should be passedby core

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12409 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6a5c6014
...@@ -58,7 +58,6 @@ void DataControlPlugin::slotContextMenuTarget( ) { ...@@ -58,7 +58,6 @@ void DataControlPlugin::slotContextMenuTarget( ) {
return; return;
object->target( targetAction_->isChecked() ); object->target( targetAction_->isChecked() );
emit updatedObject(objectId, UPDATE_STATE);
} }
void DataControlPlugin::slotContextMenuHide( ) { void DataControlPlugin::slotContextMenuHide( ) {
...@@ -88,7 +87,6 @@ void DataControlPlugin::slotContextMenuSource( ) { ...@@ -88,7 +87,6 @@ void DataControlPlugin::slotContextMenuSource( ) {
return; return;
object->source( sourceAction_->isChecked() ); object->source( sourceAction_->isChecked() );
emit updatedObject(objectId, UPDATE_STATE);
} }
void DataControlPlugin::slotContextMenuRemove( ) { void DataControlPlugin::slotContextMenuRemove( ) {
......
...@@ -415,13 +415,11 @@ void DataControlPlugin::slotDataChanged ( int _id, int _column, const QVariant& ...@@ -415,13 +415,11 @@ void DataControlPlugin::slotDataChanged ( int _id, int _column, const QVariant&
// source // source
case 2: case 2:
obj->source( _value.toBool() ); obj->source( _value.toBool() );
emit updatedObject(_id, UPDATE_STATE);
break; break;
// target // target
case 3: case 3:
obj->target( _value.toBool() ); obj->target( _value.toBool() );
emit updatedObject(_id, UPDATE_STATE);
break; break;
default: default:
...@@ -683,13 +681,11 @@ void DataControlPlugin::propagateUpwards(BaseObject* _obj, int _column ){ ...@@ -683,13 +681,11 @@ void DataControlPlugin::propagateUpwards(BaseObject* _obj, int _column ){
if (_obj->source() != value){ if (_obj->source() != value){
_obj->source( value ); _obj->source( value );
emit updatedObject(_obj->id(), UPDATE_STATE);
changed = true; changed = true;
} }
if (_obj->target() != value2){ if (_obj->target() != value2){
_obj->target( value2 ); _obj->target( value2 );
emit updatedObject(_obj->id(), UPDATE_STATE);
changed = true; changed = true;
} }
...@@ -733,13 +729,11 @@ void DataControlPlugin::propagateDownwards(BaseObject* _obj, int _column ){ ...@@ -733,13 +729,11 @@ void DataControlPlugin::propagateDownwards(BaseObject* _obj, int _column ){
if ( current->source() != _obj->source() ){ if ( current->source() != _obj->source() ){
current->source( _obj->source() ); current->source( _obj->source() );
emit updatedObject(_obj->id(), UPDATE_STATE);
changed = true; changed = true;
} }
if ( current->target() != _obj->target() ){ if ( current->target() != _obj->target() ){
current->target( _obj->target() ); current->target( _obj->target() );
emit updatedObject(_obj->id(), UPDATE_STATE);
changed = true; changed = true;
} }
......
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