Fix formatting

This commit is contained in:
Jonas Kvinge 2019-11-10 15:21:08 +01:00
parent 344023e6dd
commit 3f9b6b1192
2 changed files with 3 additions and 5 deletions

View File

@ -250,11 +250,10 @@ void AnalyzerContainer::SavePsychedelic() {
} }
void AnalyzerContainer::AddFramerate(const QString& name, int framerate) { void AnalyzerContainer::AddFramerate(const QString& name, int framerate) {
QAction* action = QAction* action = context_menu_framerate_->addAction(name);
context_menu_framerate_->addAction(name);
group_framerate_->addAction(action); group_framerate_->addAction(action);
framerate_list_ << framerate; framerate_list_ << framerate;
action->setCheckable(true); action->setCheckable(true);
connect(action, &QAction::triggered, [this, framerate]() { ChangeFramerate(framerate); } ); connect(action, &QAction::triggered,
[this, framerate]() { ChangeFramerate(framerate); });
} }

View File

@ -86,7 +86,6 @@ class FancyTabWidget : public QTabWidget {
QMenu* menu_; QMenu* menu_;
Mode mode_; Mode mode_;
QWidget* bottom_widget_; QWidget* bottom_widget_;
}; };
} // namespace Internal } // namespace Internal