build: clang warning cleanup
* unused member in undoredocontroller * int - size_t comparion * virtual destructor ASTVisitor added * braces when && and || in same if * 1 warning left: isNamedDeclUnnamed in ASTVisitor is unused
This commit is contained in:
@@ -115,8 +115,8 @@ void FeatureController::handleMessage(MessageZoom* message)
|
||||
int maxSize = settings->getFontSizeMax();
|
||||
int minSize = settings->getFontSizeMin();
|
||||
|
||||
if (fontSize >= maxSize && zoomIn
|
||||
|| fontSize <= minSize && !zoomIn)
|
||||
if ((fontSize >= maxSize && zoomIn)
|
||||
|| (fontSize <= minSize && !zoomIn))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user