| 69 | } |
| 70 | |
| 71 | static bool pathsReferToSameFile(const QString& lhs, const QString& rhs) |
| 72 | { |
| 73 | const QString left = normalizePathForCompare(lhs); |
| 74 | const QString right = normalizePathForCompare(rhs); |
| 75 | if (left.isEmpty() || right.isEmpty()) |
| 76 | return false; |
| 77 | |
| 78 | #ifdef _WIN32 |
| 79 | return left.compare(right, Qt::CaseInsensitive) == 0; |
| 80 | #else |
| 81 | return left == right; |
| 82 | #endif |
| 83 | } |
| 84 | |
| 85 | static QString encodeFamilyForUrl(const QString& family) |
| 86 | { |
no test coverage detected