From 8000fea1dce3da4a5b72a5dd1b9350381a6c00f5 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 3 Dec 2018 11:39:53 +0100 Subject: [PATCH] `not` is not a valid operator. gcc accepts it and it is not a good thing to code both in C++ and Python :) --- src/contentmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contentmanager.cpp b/src/contentmanager.cpp index 890a124..8be7be7 100644 --- a/src/contentmanager.cpp +++ b/src/contentmanager.cpp @@ -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");