QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
d5c074f80d
commit
cd2db00f22
@@ -181,7 +181,7 @@ SheetView *ViewProviderSheet::showSpreadsheetView()
|
||||
(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::fromAscii("[*]"));
|
||||
view->setWindowTitle(QString::fromUtf8(pcObject->Label.getValue()) + QString::fromLatin1("[*]"));
|
||||
Gui::getMainWindow()->addWindow(view);
|
||||
startEditing();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user