Initial iteration for Qt6 port.

This commit is contained in:
Ernie Pasveer
2023-05-16 15:25:28 -05:00
parent 95d1a9179f
commit 9c49fb7f63
31 changed files with 81 additions and 268 deletions
-8
View File
@@ -218,21 +218,13 @@ QString SeerPrintpointCreateDialog::printpointText () const {
// Build the format string, ensuring a \" at the beggining and end of the string.
printpointParameters += " ";
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
if (format().front() != QString("\"")) {
#else
if (format().at(0) != "\"") {
#endif
printpointParameters += "\"";
}
printpointParameters += format();
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
if (format().back() != QString("\"")) {
#else
if (format().at(format().size() - 1) != "\"") {
#endif
printpointParameters += "\"";
}