diff --git a/src/app/GUI/keysview.cpp b/src/app/GUI/keysview.cpp index 1867fcb80..c7a92af40 100644 --- a/src/app/GUI/keysview.cpp +++ b/src/app/GUI/keysview.cpp @@ -92,8 +92,6 @@ void KeysView::setCurrentScene(Canvas * const scene) if (mCurrentScene) { disconnect(mCurrentScene.data(), &Canvas::objectSelectionChanged, this, &KeysView::graphUpdateVisible); - disconnect(mCurrentScene.data(), &Canvas::requestUpdate, - this, &KeysView::sceneRequestedUpdate); disconnect(mCurrentScene.data(), &Canvas::requestEasingAction, this, &KeysView::graphEasingAction); } @@ -101,19 +99,12 @@ void KeysView::setCurrentScene(Canvas * const scene) if (mCurrentScene) { connect(mCurrentScene.data(), &Canvas::objectSelectionChanged, this, &KeysView::graphUpdateVisible); - connect(mCurrentScene.data(), &Canvas::requestUpdate, - this, &KeysView::sceneRequestedUpdate); connect(mCurrentScene.data(), &Canvas::requestEasingAction, this, &KeysView::graphEasingAction); } graphUpdateVisible(); } -void KeysView::sceneRequestedUpdate() -{ - graphUpdateVisible(); -} - void KeysView::setGraphViewed(const bool bT) { if(mHighlighter) mHighlighter->setHidden(bT); mGraphViewed = bT; diff --git a/src/app/GUI/keysview.h b/src/app/GUI/keysview.h index 6c2cd2c5c..eb4f54496 100644 --- a/src/app/GUI/keysview.h +++ b/src/app/GUI/keysview.h @@ -67,7 +67,6 @@ class KeysView : public QWidget, public KeyFocusTarget { QWidget *parent = nullptr); void setCurrentScene(Canvas* const scene); - void sceneRequestedUpdate(); void setGraphViewed(const bool bT);