mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Whitespace and dead code cleanup
The coding style for switch isn't the prettiest, but let's at least keep things consistent. Also, those ugly break statements never got reached, anyway. And there was no need to re-declare and re-generate currentString. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9c9867dec5
commit
6332976c3d
2 changed files with 7 additions and 9 deletions
|
|
@ -74,4 +74,4 @@ QColor getSacColor(int sac, int avg_sac)
|
|||
if (sac_index > SAC_COLORS - 1)
|
||||
sac_index = SAC_COLORS - 1;
|
||||
return getColor((color_indice_t)(SAC_COLORS_START_IDX + sac_index), false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue