File fix-return-type.patch of Package deepin-control-center
diff -Nur dde-control-center-5.4.77/src/frame/window/protocolfile.cpp dde-control-center-5.4.77-new/src/frame/window/protocolfile.cpp
--- dde-control-center-5.4.77/src/frame/window/protocolfile.cpp 2021-08-26 14:59:05.000000000 +0800
+++ dde-control-center-5.4.77-new/src/frame/window/protocolfile.cpp 2021-10-29 20:39:15.960054613 +0800
@@ -139,6 +139,8 @@
return oldPath;
}
}
+ const QString body = getLicenseText("/usr/share/deepin-deepinid-client/privacy/End-User-License-Agreement-Community/End-User-License-Agreement-CN-%1.txt", "");
+ return body;
}
QString ProtocolFile::getEulerEnduserAgreement()