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; QString kk=k;
kk.remove(0, start.size()); kk.remove(0, start.size());
QString num=""; QString num="";
while (kk.front().isDigit()) { while (kk.at(0).isDigit()) {
num+=kk.front(); num+=kk.at(0);
kk.remove(0, 1); kk.remove(0, 1);
} }
bool ok=false; bool ok=false;

View File

@ -84,8 +84,8 @@ void JKQTPlotterStyle::loadSettings(const QSettings &settings, const QString &gr
QString kk=k; QString kk=k;
kk.remove(0, start.size()); kk.remove(0, start.size());
QString num=""; QString num="";
while (kk.front().isDigit()) { while (kk.at(0).isDigit()) {
num+=kk.front(); num+=kk.at(0);
kk.remove(0, 1); kk.remove(0, 1);
} }
bool ok=false; bool ok=false;