Skip to content

Commit

Permalink
gcc/clang do not like QOverload<void>()
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardTea committed Apr 10, 2024
1 parent 9a1dd48 commit d683dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/glscopewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ GlScopeWidget::GlScopeWidget(QWidget* parent)

m_model = new ScopeModel(this);
connect(m_model, &ScopeModel::runningChanged, this, &GlScopeWidget::onRunningChanged);
connect(m_model, &ScopeModel::traceVisibilityChanged, this, QOverload<void>::of(&QOpenGLWidget::update));
connect(m_model, &ScopeModel::traceVisibilityChanged, this, qOverload<>(&QOpenGLWidget::update));

setMinimumSize(200, 200);
setVerticalScaleMode(VerticalScale::Percent);
Expand Down

0 comments on commit d683dab

Please sign in to comment.