From 1fca07546cdda7727d8732bb0b5ffc6ac0280af5 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 9 Jul 2021 18:52:13 +0200 Subject: [PATCH] print the real permissions string instead of its address Signed-off-by: Matthieu Gallien --- src/common/remotepermissions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/remotepermissions.h b/src/common/remotepermissions.h index 6e9550783891a..e02738a602c2c 100644 --- a/src/common/remotepermissions.h +++ b/src/common/remotepermissions.h @@ -99,7 +99,7 @@ class OCSYNC_EXPORT RemotePermissions friend QDebug operator<<(QDebug &dbg, RemotePermissions p) { - return dbg << p.toString().constData(); + return dbg << p.toString(); } };