diff --git a/core.cpp b/core.cpp index 7a8eb69d3..f9d4fc36d 100644 --- a/core.cpp +++ b/core.cpp @@ -935,7 +935,7 @@ void Core::sendAllFileData(Core *core, ToxFile* file) QByteArray toSend = file->fileData.mid(file->bytesSent, chunkSize); if (tox_file_send_data(core->tox, file->friendId, file->fileNum, (uint8_t*)toSend.data(), toSend.size()) == -1) { - qWarning("Core::fileHeartbeat: Error sending data chunk"); + //qWarning("Core::fileHeartbeat: Error sending data chunk"); QThread::sleep(0); continue; } diff --git a/filetransfertwidget.cpp b/filetransfertwidget.cpp index ab117de2c..d2a639698 100644 --- a/filetransfertwidget.cpp +++ b/filetransfertwidget.cpp @@ -63,12 +63,12 @@ FileTransfertWidget::FileTransfertWidget(ToxFile File) QPalette toxgreen; toxgreen.setColor(QPalette::Button, QColor(107,194,96)); // Tox Green topright->setIconSize(QSize(10,10)); - topright->setFixedSize(24,24); + topright->setFixedSize(25,25); topright->setFlat(true); topright->setAutoFillBackground(true); topright->setPalette(toxgreen); bottomright->setIconSize(QSize(10,10)); - bottomright->setFixedSize(24,24); + bottomright->setFixedSize(25,25); bottomright->setFlat(true); bottomright->setAutoFillBackground(true); bottomright->setPalette(toxgreen); @@ -89,9 +89,10 @@ FileTransfertWidget::FileTransfertWidget(ToxFile File) textLayout->setSpacing(5); buttonLayout->addWidget(topright); + buttonLayout->addSpacing(2); buttonLayout->addWidget(bottomright); buttonLayout->setMargin(0); - buttonLayout->setSpacing(2); + buttonLayout->setSpacing(0); } QString FileTransfertWidget::getHumanReadableSize(int size)