From abc32875f66419eafe33730af501306430d7df31 Mon Sep 17 00:00:00 2001 From: Mikael Date: Thu, 17 Oct 2019 11:32:23 +0200 Subject: [PATCH] qt5.9 support --- lib/jkqtplotter/jkqtpbaseplotterstyle.cpp | 4 ++-- lib/jkqtplotter/jkqtplotterstyle.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/jkqtplotter/jkqtpbaseplotterstyle.cpp b/lib/jkqtplotter/jkqtpbaseplotterstyle.cpp index 2bb82f2a89..22a162f687 100644 --- a/lib/jkqtplotter/jkqtpbaseplotterstyle.cpp +++ b/lib/jkqtplotter/jkqtpbaseplotterstyle.cpp @@ -103,8 +103,8 @@ void JKQTBasePlotterStyle::loadSettings(const QSettings &settings, const QString QString kk=k; kk.remove(0, start.size()); QString num=""; - while (kk.front().isDigit()) { - num+=kk.front(); + while (kk.at(0).isDigit()) { + num+=kk.at(0); kk.remove(0, 1); } bool ok=false; diff --git a/lib/jkqtplotter/jkqtplotterstyle.cpp b/lib/jkqtplotter/jkqtplotterstyle.cpp index 174cd5cb46..f1648f92f3 100644 --- a/lib/jkqtplotter/jkqtplotterstyle.cpp +++ b/lib/jkqtplotter/jkqtplotterstyle.cpp @@ -84,8 +84,8 @@ void JKQTPlotterStyle::loadSettings(const QSettings &settings, const QString &gr QString kk=k; kk.remove(0, start.size()); QString num=""; - while (kk.front().isDigit()) { - num+=kk.front(); + while (kk.at(0).isDigit()) { + num+=kk.at(0); kk.remove(0, 1); } bool ok=false;