mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 23:17:13 +03:00
Logging: Print instruction when job completed.
This commit is contained in:
parent
d0f07ee3a9
commit
9249d6c2f9
1 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,6 @@
|
||||||
#include "syncjournalfilerecord.h"
|
#include "syncjournalfilerecord.h"
|
||||||
#include "discoveryphase.h"
|
#include "discoveryphase.h"
|
||||||
#include "creds/abstractcredentials.h"
|
#include "creds/abstractcredentials.h"
|
||||||
#include "csync_util.h"
|
|
||||||
#include "syncfilestatus.h"
|
#include "syncfilestatus.h"
|
||||||
#include "csync_private.h"
|
#include "csync_private.h"
|
||||||
|
|
||||||
|
@ -51,6 +50,7 @@
|
||||||
#ifdef USE_NEON
|
#ifdef USE_NEON
|
||||||
extern "C" int owncloud_commit(CSYNC* ctx);
|
extern "C" int owncloud_commit(CSYNC* ctx);
|
||||||
#endif
|
#endif
|
||||||
|
extern "C" const char *csync_instruction_str(enum csync_instructions_e instr);
|
||||||
|
|
||||||
namespace OCC {
|
namespace OCC {
|
||||||
|
|
||||||
|
@ -827,7 +827,8 @@ void SyncEngine::setNetworkLimits(int upload, int download)
|
||||||
|
|
||||||
void SyncEngine::slotJobCompleted(const SyncFileItem &item)
|
void SyncEngine::slotJobCompleted(const SyncFileItem &item)
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO << item._file << item._status << item._errorString;
|
const char * instruction_str = csync_instruction_str(item._instruction);
|
||||||
|
qDebug() << Q_FUNC_INFO << item._file << instruction_str << item._status << item._errorString;
|
||||||
|
|
||||||
/* Update the _syncedItems vector */
|
/* Update the _syncedItems vector */
|
||||||
int idx = _syncedItems.indexOf(item);
|
int idx = _syncedItems.indexOf(item);
|
||||||
|
|
Loading…
Reference in a new issue