refactor: Refactor config reader & config API #77
Annotations
10 warnings
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L159
The function 'save' is never used.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L120
The function 'load' is never used.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L75
The function 'set' is never used.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L25
Class 'Config' has a constructor with 1 argument that is not explicit. Such, so called "Converting constructors", should in general be explicit for type safety reasons as that prevents unintended implicit conversions.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L12
Include file: "Constants.h" not found.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L10
Include file: <QVariant> not found. Please note: Cppcheck does not need standard library headers to get proper results.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L9
Include file: <QPair> not found. Please note: Cppcheck does not need standard library headers to get proper results.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L8
Include file: <QObject> not found. Please note: Cppcheck does not need standard library headers to get proper results.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L7
Include file: <QMap> not found. Please note: Cppcheck does not need standard library headers to get proper results.
|
|
Run linuxdeepin/action-cppcheck@main:
src/common/Config.h#L6
Include file: <QFile> not found. Please note: Cppcheck does not need standard library headers to get proper results.
|
Loading