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(); } };