... foreach loop, and you can use break to leave the loop: QList<QString> values; ... foreach (const QString &str, values) { if (str.isEmpty()) break; qDebug ...
確定! 回上一頁