1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

FileTransferInstance: correct buttons displaying

This commit is contained in:
apprb 2014-09-07 16:14:50 +07:00
parent 1233357649
commit 16949cfdba

View File

@ -64,7 +64,7 @@ void FileTransferInstance::onFileTransferInfo(int FriendId, int FileNum, int64_t
if (FileNum != fileNum || FriendId != friendId || Direction != direction)
return;
// state = tsProcessing;
state = tsProcessing;
QDateTime newtime = QDateTime::currentDateTime();
int timediff = lastUpdate.secsTo(newtime);
if (timediff <= 0)
@ -211,7 +211,7 @@ QString FileTransferInstance::QImage2base64(const QImage &img)
QString FileTransferInstance::getHtmlImage()
{
qDebug() << "QString FileTransferInstance::getHtmlImage()";
qDebug() << "QString FileTransferInstance::getHtmlImage() " << state;
QString res;
if (state == tsPending || state == tsProcessing || state == tsPaused)