Skip to content

Commit f8e04ee

Browse files
committed
qt6: call of overloaded ‘mapTo(Otter::ContentsWidget*,
<brace-enclosed initializer list>)’ is ambiguous
1 parent 9f4d8ce commit f8e04ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/modules/windows/web/ProgressToolBarWidget.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ void ProgressToolBarWidget::handleActionsStateChanged(const QVector<int> &identi
9292
}
9393

9494
geometry.setTop(geometry.bottom() - 30);
95+
#ifdef OTTER_ENABLE_QT5 // qt: 6 call of overloaded ‘mapTo(Otter::ContentsWidget*, <brace-enclosed initializer list>)’ is ambiguous
9596
geometry.translate(m_webWidget->mapTo(m_window->getContentsWidget(), {0, 0}));
97+
#endif
9698

9799
setGeometry(geometry);
98100
show();

0 commit comments

Comments
 (0)