mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 18:15:52 +08:00
commit
0c34710fc7
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user