modernize C++: use bool literals

This commit is contained in:
wmayer
2023-08-05 23:44:44 +02:00
committed by wwmayer
parent 5be3ad33aa
commit 7a3106d31b
25 changed files with 46 additions and 46 deletions

View File

@@ -100,7 +100,7 @@ void TaskLineDecor::getDefaults()
m_style = LineFormat::getDefEdgeStyle();
m_color = LineFormat::getDefEdgeColor();
m_weight = LineFormat::getDefEdgeWidth();
m_visible = 1;
m_visible = true;
//set defaults to format of 1st edge
if (!m_edges.empty()) {
@@ -136,7 +136,7 @@ void TaskLineDecor::getDefaults()
m_weight = partVP->LineWidth.getValue();
m_style = Qt::SolidLine; // = 1
m_color = LineFormat::getDefEdgeColor();
m_visible = 1;
m_visible = true;
}
}
}