diff --git a/src/core.cpp b/src/core.cpp index df42cff62..bdaa67a35 100644 --- a/src/core.cpp +++ b/src/core.cpp @@ -1526,7 +1526,7 @@ void Core::sendAllFileData(Core *core, ToxFile* file) return; } emit core->fileTransferInfo(file->friendId, file->fileNum, file->filesize, file->bytesSent, ToxFile::SENDING); - qApp->processEvents(); +// qApp->processEvents(); long long chunkSize = tox_file_data_size(core->tox, file->friendId); if (chunkSize == -1) { diff --git a/src/coredefines.h b/src/coredefines.h index dd94001f0..157e87785 100644 --- a/src/coredefines.h +++ b/src/coredefines.h @@ -3,7 +3,7 @@ #define TOXAV_MAX_CALLS 16 #define GROUPCHAT_MAX_SIZE 32 -#define TOX_FILE_INTERVAL 0 +#define TOX_FILE_INTERVAL 1 #define TOXAV_RINGING_TIME 45 // TODO: Put that in the settings