diff options
Diffstat (limited to 'tests/auto/valgrind/callgrind/modeltest.cpp')
-rw-r--r-- | tests/auto/valgrind/callgrind/modeltest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/valgrind/callgrind/modeltest.cpp b/tests/auto/valgrind/callgrind/modeltest.cpp index c02b23bf6d6..6197f632d6d 100644 --- a/tests/auto/valgrind/callgrind/modeltest.cpp +++ b/tests/auto/valgrind/callgrind/modeltest.cpp @@ -85,7 +85,7 @@ ModelTestWidget::ModelTestWidget(CallgrindWidgetHandler *handler) m_format->addItem("absolute", CostDelegate::FormatAbsolute); m_format->addItem("relative", CostDelegate::FormatRelative); m_format->addItem("rel. to parent", CostDelegate::FormatRelativeToParent); - connect(m_format, static_cast<void (QComboBox::*)(int)>(&QComboBox::activated), + connect(m_format, QOverload<int>::of(&QComboBox::activated), this, &ModelTestWidget::formatChanged); h->addWidget(m_format); |