qt5.9 support

This commit is contained in:
Mikael 2019-10-17 11:32:23 +02:00
parent 3aafc48d9b
commit abc32875f6
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;