mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 14:04:40 -04:00
bookmarks and image optiones are now stored in the library for each comic
This commit is contained in:
@ -5,14 +5,14 @@
|
||||
#include <QLocalSocket>
|
||||
|
||||
YACReaderLocalClient::YACReaderLocalClient(QObject *parent) :
|
||||
QObject(parent)
|
||||
QObject(parent)
|
||||
{
|
||||
localSocket = new QLocalSocket(this);
|
||||
localSocket = new QLocalSocket(this);
|
||||
|
||||
//connect(localSocket, SIGNAL(readyRead()), this, SLOT(readMessage()));
|
||||
//connect(localSocket, SIGNAL(readyRead()), this, SLOT(readMessage()));
|
||||
|
||||
/*connect(socket, SIGNAL(error(QLocalSocket::LocalSocketError)),
|
||||
this, SLOT(displayError(QLocalSocket::LocalSocketError)));*/
|
||||
/*connect(socket, SIGNAL(error(QLocalSocket::LocalSocketError)),
|
||||
this, SLOT(displayError(QLocalSocket::LocalSocketError)));*/
|
||||
}
|
||||
|
||||
//información de comic recibida...
|
||||
@ -101,10 +101,15 @@ bool YACReaderLocalClient::sendComicInfo(quint64 libraryId, ComicDB & comic)
|
||||
tries++;
|
||||
}
|
||||
if(tries == 100 && written != block.size())
|
||||
{
|
||||
emit finished();
|
||||
return false;
|
||||
}
|
||||
emit finished();
|
||||
return true;
|
||||
}
|
||||
else
|
||||
return false;
|
||||
|
||||
emit finished();
|
||||
return false;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user