not is not a valid operator.

gcc accepts it and it is not a good thing to code both in C++ and Python :)
This commit is contained in:
Matthieu Gautier 2018-12-03 11:39:53 +01:00
parent 3007d1a9f6
commit 8000fea1dc

View File

@ -217,7 +217,7 @@ void ContentManager::updateRemoteLibrary() {
QUrlQuery query;
query.addQueryItem("lang", m_currentLanguage);
query.addQueryItem("count", QString::number(0));
if (not m_searchQuery.isEmpty())
if (!m_searchQuery.isEmpty())
query.addQueryItem("q", m_searchQuery);
QUrl url;
url.setScheme("http");