feat: Merge permission/watermark into master #172
Annotations
10 warnings
cppcheck:
libimageviewer/imageengine.cpp#L40
Class 'ImageEnginePrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s).
|
cppcheck:
libimageviewer/imageengine.cpp#L40
Class 'ImageEnginePrivate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s).
|
cppcheck:
libimageviewer/imageviewer.cpp#L42
Parameter 'savePath' is passed by value. It could be passed as a const reference which is usually faster and recommended in C++.
|
cppcheck:
libimageviewer/imageviewer.cpp#L90
Class 'ImageViewerPrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s).
|
cppcheck:
libimageviewer/imageviewer.cpp#L90
Class 'ImageViewerPrivate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s).
|
cppcheck:
libimageviewer/imageviewer.cpp#L115
Parameter 'savePath' is passed by value. It could be passed as a const reference which is usually faster and recommended in C++.
|
cppcheck:
libimageviewer/service/permissionconfig.cpp#L391
Local variable 'ret' shadows outer variable
|
cppcheck:
libimageviewer/service/permissionconfig.cpp#L360
The function 'activateProcess' is never used.
|
cppcheck:
libimageviewer/viewpanel/viewpanel.cpp#L508
Variable 'isEditable' is assigned a value that is never used.
|
cppcheck:
libimageviewer/widgets/printhelper.cpp#L180
The function 'paintRequestSync' is never used.
|