mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
Made adaptation to Qt6. Now it compiles without any errors and runs.
More work is required to get rid of Qt5Compat shims
This commit is contained in:
@@ -219,7 +219,7 @@ QString SeerPrintpointCreateDialog::printpointText () const {
|
||||
printpointParameters += " ";
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
|
||||
if (format().front() != "\"") {
|
||||
if (format().front() != QString("\"")) {
|
||||
#else
|
||||
if (format().at(0) != "\"") {
|
||||
#endif
|
||||
@@ -229,7 +229,7 @@ QString SeerPrintpointCreateDialog::printpointText () const {
|
||||
printpointParameters += format();
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
|
||||
if (format().back() != "\"") {
|
||||
if (format().back() != QString("\"")) {
|
||||
#else
|
||||
if (format().at(format().size() - 1) != "\"") {
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user