mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #937 Resolved clazy warnings: unnecessary memory allocation.
This commit is contained in:
@@ -111,7 +111,7 @@ namespace BlackCore
|
||||
|
||||
if (this->m_shutdown) { return; }
|
||||
QString urlString(nwReply->url().toString());
|
||||
if (urlString.toLower().contains("logoff"))
|
||||
if (urlString.contains("logoff", Qt::CaseInsensitive))
|
||||
{
|
||||
sApp->deleteAllCookies();
|
||||
emit logoffFinished();
|
||||
|
||||
Reference in New Issue
Block a user