Ref T150, utility functions in URL list

* renamed to withAppendedPath
* findByHost
* addFailed utility functions
This commit is contained in:
Klaus Basan
2017-09-14 02:18:51 +02:00
committed by Mathew Sutcliffe
parent fe01a9d4aa
commit afbf3f05c8
5 changed files with 60 additions and 3 deletions

View File

@@ -290,6 +290,12 @@ namespace BlackMisc
{
return input.replace('.', QLocale::system().decimalPoint());
}
bool stringCompare(const QString &c1, const QString &c2, Qt::CaseSensitivity cs)
{
if (cs == Qt::CaseSensitive) { return c1 == c2; }
return caseInsensitiveStringCompare(c1, c2);
}
}
//! \endcond