Skip to content

Commit

Permalink
Graph: remove 'View only selected' action #177
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Aug 24, 2024
1 parent f585cad commit f5e82b1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions src/app/GUI/animationdockwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ AnimationDockWidget::AnimationDockWidget(QWidget *parent,
, mSmoothButton(nullptr)
, mCornerButton(nullptr)
, mFitToHeightButton(nullptr)
, mOnlySelectedAct(nullptr)
{
setObjectName(QString::fromUtf8("animationDockWidget"));
setSizePolicy(QSizePolicy::Maximum,
Expand Down Expand Up @@ -98,14 +97,6 @@ AnimationDockWidget::AnimationDockWidget(QWidget *parent,
connect(selectedVisible, &SwitchButton::toggled,
keysView, &KeysView::graphSetOnlySelectedVisible);*/

mOnlySelectedAct = new QAction(QIcon::fromTheme("onlySelectedVisible"),
QString(),
this);
mOnlySelectedAct->setCheckable(true);
mOnlySelectedAct->setToolTip(tr("View only selected"));
connect(mOnlySelectedAct, &QAction::triggered,
keysView, &KeysView::graphSetOnlySelectedVisible);

addWidget(easingButton);
addAction(mLineButton);
addAction(mCurveButton);
Expand All @@ -114,7 +105,6 @@ AnimationDockWidget::AnimationDockWidget(QWidget *parent,
addAction(mCornerButton);
addAction(mFitToHeightButton);
//addWidget(valueLines);
addAction(mOnlySelectedAct);

eSizesUI::widget.add(this, [this](const int size) {
setIconSize(QSize(size, size));
Expand All @@ -129,7 +119,6 @@ void AnimationDockWidget::showGraph(const bool show)
mSmoothButton->setVisible(show);
mCornerButton->setVisible(show);
mFitToHeightButton->setVisible(show);
mOnlySelectedAct->setVisible(show);
}

void AnimationDockWidget::generateEasingActions(QPushButton *button,
Expand Down
1 change: 0 additions & 1 deletion src/app/GUI/animationdockwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class AnimationDockWidget : public QToolBar
QAction *mSmoothButton;
QAction *mCornerButton;
QAction *mFitToHeightButton;
QAction *mOnlySelectedAct;
};

#endif // ANIMATIONDOCKWIDGET_H

0 comments on commit f5e82b1

Please sign in to comment.