mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T150, utility functions in URL list
* renamed to withAppendedPath * findByHost * addFailed utility functions
This commit is contained in:
committed by
Mathew Sutcliffe
parent
fe01a9d4aa
commit
afbf3f05c8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user