Skip to content

Commit

Permalink
Graph: remove scene request update
Browse files Browse the repository at this point in the history
This is not needed anymore, as the update/redraw issue was fixed in 8340432.
  • Loading branch information
rodlie committed Aug 31, 2024
1 parent 4d1355d commit 9d5ca20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/app/GUI/keysview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,28 +92,19 @@ 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);
}
mCurrentScene = 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;
Expand Down
1 change: 0 additions & 1 deletion src/app/GUI/keysview.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9d5ca20

Please sign in to comment.