Solve cppcheck warnings
This commit is contained in:
@@ -36,6 +36,8 @@ TextConfig::TextConfig(QWidget *parent) : QWidget(parent) {
|
||||
int index = fontsCB->findData(QFont().family());
|
||||
if ( index != -1 ) {
|
||||
fontsCB->setCurrentIndex(index);
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
QColor bgColor(palette().background().color());
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#define BASE_POINT_SIZE 8
|
||||
|
||||
|
||||
TextTool::TextTool(QObject *parent) : CaptureTool(parent) {
|
||||
TextTool::TextTool(QObject *parent) : CaptureTool(parent), m_size(1) {
|
||||
}
|
||||
|
||||
bool TextTool::isValid() const {
|
||||
|
||||
Reference in New Issue
Block a user