* Create a string list from a NULL terminated array of C strings. */
| 48 | * Create a string list from a NULL terminated array of C strings. |
| 49 | */ |
| 50 | QStringList cstringArrayToStringList(const char* const* strs) |
| 51 | { |
| 52 | QStringList result; |
| 53 | while (*strs) { |
| 54 | result.append(QCoreApplication::translate("@default", *strs++)); |
| 55 | } |
| 56 | return result; |
| 57 | } |
| 58 | |
| 59 | } |
| 60 |
no test coverage detected