diff --git a/src/ViewContainer.cpp b/src/ViewContainer.cpp index 9888139b3..7df7add4d 100644 --- a/src/ViewContainer.cpp +++ b/src/ViewContainer.cpp @@ -791,7 +791,7 @@ void TabbedViewContainer::updateTitle(ViewProperties* item) _tabBar->setTabToolTip( index , tabText ); // To avoid having & replaced with _ (shortcut indicator) - tabText.replace("&", "&&"); + tabText.replace('&', "&&"); _tabBar->setTabText( index , tabText ); } }