mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
Initial iteration for Qt6 port.
This commit is contained in:
@@ -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 += "\"";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user