From 5656c3f54087df05a61d7542b657946f643560df Mon Sep 17 00:00:00 2001 From: Igor Kushnir Date: Sat, 6 Feb 2021 11:51:18 +0200 Subject: [PATCH] Make ComicQueryResultProcessor::modelData() static The function doesn't use data members or other member functions. It could even be put into an unnamed namespace in the cpp file, but that would require more changes and complicate turning it back into a member function if need be in the future. --- YACReaderLibrary/db/comic_query_result_processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/db/comic_query_result_processor.h b/YACReaderLibrary/db/comic_query_result_processor.h index fef245ac..09b16cb0 100644 --- a/YACReaderLibrary/db/comic_query_result_processor.h +++ b/YACReaderLibrary/db/comic_query_result_processor.h @@ -25,7 +25,7 @@ signals: private: ConcurrentQueue querySearchQueue; - QList *modelData(QSqlQuery &sqlquery); + static QList *modelData(QSqlQuery &sqlquery); }; };