Merge pull request #15 from midjji/qt5.9-fix

qt5.9 support
This commit is contained in:
Jan W. Krieger 2019-10-17 15:15:37 +02:00 committed by GitHub
commit 0c34710fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;