| 62 | bool ok; |
| 63 | QVector<qreal> vec; |
| 64 | foreach (const QString &str, parts) { |
| 65 | const qreal val = str.toDouble(&ok); |
| 66 | if (ok) |
| 67 | vec.append(val); |
| 68 | } |
| 69 | const int rows = widget->diagram()->model()->rowCount(); |
| 70 | if (vec.count() != rows) { |
| 71 | QMessageBox::warning(this, "Wrong number of values entered!", |
nothing calls this directly
no outgoing calls
no test coverage detected