Skip to content

Commit be07b6f

Browse files
committed
gui: correct use of depth in setMaxColorDepth
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 8ea58f6 commit be07b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/src/clockWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void ClockTreeRenderer::resetTree()
152152

153153
void ClockTreeRenderer::setMaxColorDepth(int depth)
154154
{
155-
if (max_depth_ < 1) {
155+
if (depth < 1) {
156156
return;
157157
}
158158

0 commit comments

Comments
 (0)