From d44e47d11dd283acd4790af9dcb420ce11e00c2a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 09:35:28 +0900 Subject: [PATCH] Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro (cherry picked from commit 3dceed1ea7a177db3aeda6eb106e8fcf7046fc16) --- katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp b/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp index 071a265..1e5c5e0 100644 --- a/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp +++ b/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp @@ -104,7 +104,7 @@ void AmarokCatalog::queryChanged() newStatus = 0; } else { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING) { + if (replyType == "TQStringList") { TQStringList sqlResult; reply >> sqlResult; @@ -179,7 +179,7 @@ void AmarokCatalog::queryChanged() newStatus = 0; } else { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING) { + if (replyType == "TQStringList") { TQStringList sqlResult; reply >> sqlResult; @@ -281,7 +281,7 @@ void AmarokCatalog::checkCollectionType() else { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING) + if (replyType == "TQStringList") { TQStringList sqlResult; reply >> sqlResult;