mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 02:21:43 +08:00
qt5.9 support
This commit is contained in:
parent
3aafc48d9b
commit
abc32875f6
@ -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