}
break;
case MYLIST_ENTRY_EDITED:
- case FILE_ALREADY_IN_MYLIST:
signalReplyReady(true);
break;
+ case FILE_ALREADY_IN_MYLIST:
+ {
+ // Apparently the lid is sent back with some other data, but it is not mentioned in the docs.
+ QStringList data = reply.mid(reply.indexOf('\n')).trimmed().split(QChar('|'));
+ if (data.count() > 1)
+ m_lid = data[0].toInt();
+ signalReplyReady(true);
+ }
case NO_SUCH_MYLIST_ENTRY:
case NO_SUCH_FILE:
case NO_SUCH_ANIME: