Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3dceed1ea7)
r14.1.x
Michele Calgaro 1 year ago
parent 7c26eb2c8b
commit d44e47d11d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -104,7 +104,7 @@ void AmarokCatalog::queryChanged()
newStatus = 0; newStatus = 0;
} else { } else {
TQDataStream reply(replyData, IO_ReadOnly); TQDataStream reply(replyData, IO_ReadOnly);
if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING) { if (replyType == "TQStringList") {
TQStringList sqlResult; TQStringList sqlResult;
reply >> sqlResult; reply >> sqlResult;
@ -179,7 +179,7 @@ void AmarokCatalog::queryChanged()
newStatus = 0; newStatus = 0;
} else { } else {
TQDataStream reply(replyData, IO_ReadOnly); TQDataStream reply(replyData, IO_ReadOnly);
if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING) { if (replyType == "TQStringList") {
TQStringList sqlResult; TQStringList sqlResult;
reply >> sqlResult; reply >> sqlResult;
@ -281,7 +281,7 @@ void AmarokCatalog::checkCollectionType()
else else
{ {
TQDataStream reply(replyData, IO_ReadOnly); TQDataStream reply(replyData, IO_ReadOnly);
if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING) if (replyType == "TQStringList")
{ {
TQStringList sqlResult; TQStringList sqlResult;
reply >> sqlResult; reply >> sqlResult;

Loading…
Cancel
Save