Fixed clazy warnings: unnecessary containers and containers being detached.

This commit is contained in:
Mat Sutcliffe
2018-12-17 17:43:31 +00:00
parent 462172a87f
commit c71d358648
9 changed files with 14 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ namespace BlackGui
if (c.isEmpty()) { return; }
if (c.startsWith('.'))
{
if (c.toLower().contains("help"))
if (c.contains("help", Qt::CaseInsensitive))
{
this->setCommandTooltip();
return;