Selaa lähdekoodia

print the real permissions string instead of its address

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien 4 vuotta sitten
vanhempi
commit
1fca07546c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/common/remotepermissions.h

+ 1 - 1
src/common/remotepermissions.h

@@ -99,7 +99,7 @@ public:
 
     friend QDebug operator<<(QDebug &dbg, RemotePermissions p)
     {
-        return dbg << p.toString().constData();
+        return dbg << p.toString();
     }
 };