[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-01-02 16:47:24 +00:00
committed by WandererFan
parent 5ac886fa0e
commit bbaccbb207
2 changed files with 4 additions and 2 deletions

View File

@@ -536,7 +536,8 @@ void DrawingView::printPdf()
QString minor = QString::fromUtf8(config["BuildVersionMinor"].c_str());
QString point = QString::fromUtf8(config["BuildVersionPoint"].c_str());
QString suffix = QString::fromUtf8(config["BuildVersionSuffix"].c_str());
printer.setCreator(QString::fromUtf8("%1 Drawing %2.%3.%4%5").arg(appname, major, minor, point, suffix));
printer.setCreator(
QString::fromUtf8("%1 Drawing %2.%3.%4%5").arg(appname, major, minor, point, suffix));
printer.setPageOrientation(m_orientation);
QList<QListWidgetItem*> items = listWidget->selectedItems();

View File

@@ -316,7 +316,8 @@ void SheetView::printPdf()
QString minor = QString::fromUtf8(config["BuildVersionMinor"].c_str());
QString point = QString::fromUtf8(config["BuildVersionPoint"].c_str());
QString suffix = QString::fromUtf8(config["BuildVersionSuffix"].c_str());
printer.setCreator(QString::fromUtf8("%1 Spreadsheet %2.%3.%4%5").arg(appname, major, minor, point, suffix));
printer.setCreator(QString::fromUtf8("%1 Spreadsheet %2.%3.%4%5")
.arg(appname, major, minor, point, suffix));
print(&printer);
}