Skip to content

Commit

Permalink
codeeditorstyle.h: suppress naming-varname selfcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Sep 1, 2023
1 parent ae03b1b commit 5e9d01f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gui/codeeditorstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ CodeEditorStyle::CodeEditorStyle(
QColor CmtFGColor, QFont::Weight CmtWeight,
// cppcheck-suppress naming-varname - TODO: fix this
QColor SymbFGColor, QColor SymbBGColor,
// cppcheck-suppress naming-varname - TODO: fix this
QFont::Weight SymbWeight) :
widgetFGColor(std::move(CtrlFGColor)),
widgetBGColor(std::move(CtrlBGColor)),
Expand Down
1 change: 1 addition & 0 deletions gui/codeeditorstyle.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class CodeEditorStyle {
QColor CmtFGColor, QFont::Weight CmtWeight,
// cppcheck-suppress naming-varname - TODO: fix this
QColor SymbFGColor, QColor SymbBGColor,
// cppcheck-suppress naming-varname - TODO: fix this
QFont::Weight SymbWeight);

bool operator==(const CodeEditorStyle& rhs) const;
Expand Down

0 comments on commit 5e9d01f

Please sign in to comment.