mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
Merge commit 'e7ac54c403392da2d0fd05f4979cae6250bed986' into v2019.11
# Conflicts: # CMakeLists.txt # doc/dox/whatsnew.dox
This commit is contained in:
commit
620ff7a790
@ -103,7 +103,7 @@ void JKQTBasePlotterStyle::loadSettings(const QSettings &settings, const QString
|
||||
QString kk=k;
|
||||
kk.remove(0, start.size());
|
||||
QString num="";
|
||||
while (kk.at(0).isDigit()) {
|
||||
while (!kk.isEmpty() && kk.at(0).isDigit()) {
|
||||
num+=kk.at(0);
|
||||
kk.remove(0, 1);
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ void JKQTPlotterStyle::loadSettings(const QSettings &settings, const QString &gr
|
||||
QString kk=k;
|
||||
kk.remove(0, start.size());
|
||||
QString num="";
|
||||
while (kk.at(0).isDigit()) {
|
||||
while (!kk.isEmpty() && kk.at(0).isDigit()) {
|
||||
num+=kk.at(0);
|
||||
kk.remove(0, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user