Spreadsheet: Use QStringLiteral

This commit is contained in:
Benjamin Bræstrup Sayoc
2025-02-09 18:20:52 +01:00
parent ee90eb6ebc
commit e9456f7115
7 changed files with 29 additions and 33 deletions

View File

@@ -167,8 +167,7 @@ SheetView* ViewProviderSheet::showSpreadsheetView()
Gui::Document* doc = Gui::Application::Instance->getDocument(this->pcObject->getDocument());
view = new SheetView(doc, this->pcObject, Gui::getMainWindow());
view->setWindowIcon(Gui::BitmapFactory().pixmap(":icons/Spreadsheet.svg"));
view->setWindowTitle(QString::fromUtf8(pcObject->Label.getValue())
+ QString::fromLatin1("[*]"));
view->setWindowTitle(QString::fromUtf8(pcObject->Label.getValue()) + QStringLiteral("[*]"));
Gui::getMainWindow()->addWindow(view);
startEditing();
}