Remove redundant parentheses from a ternary statement in WndMainWindow.cpp.