mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Log: Improve log message [ info gui.folder ]: Folder sync result: 4...
by including the name of the folder and print the name of the result
This commit is contained in:
parent
fb34f8ea85
commit
c9ee0a0343
2 changed files with 3 additions and 1 deletions
|
@ -399,7 +399,7 @@ void Folder::showSyncResultPopup()
|
|||
createGuiLog(_syncResult.firstItemLocked()->_file, LogStatusFileLocked, lockedCount);
|
||||
}
|
||||
|
||||
qCInfo(lcFolder) << "Folder sync result: " << int(_syncResult.status());
|
||||
qCInfo(lcFolder) << "Folder" << _syncResult.folder() << "sync result: " << _syncResult.status();
|
||||
}
|
||||
|
||||
void Folder::createGuiLog(const QString &filename, LogStatus status, int count,
|
||||
|
|
|
@ -30,6 +30,7 @@ namespace OCC {
|
|||
*/
|
||||
class OWNCLOUDSYNC_EXPORT SyncResult
|
||||
{
|
||||
Q_GADGET
|
||||
public:
|
||||
enum Status {
|
||||
Undefined,
|
||||
|
@ -43,6 +44,7 @@ public:
|
|||
SetupError,
|
||||
Paused
|
||||
};
|
||||
Q_ENUM(Status);
|
||||
|
||||
SyncResult();
|
||||
void reset();
|
||||
|
|
Loading…
Reference in a new issue