mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Silence random warnings
None of these seem to point to actual issues, so let's quiet them. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
12dac214aa
commit
27c49fe3ad
6 changed files with 9 additions and 7 deletions
|
@ -110,7 +110,7 @@ void TankItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &b
|
|||
|
||||
// work through all the gas changes and add the rectangle for each gas while it was used
|
||||
struct event *ev = get_next_event(dc->events, "gaschange");
|
||||
while (ev && ev->time.seconds < last_entry->sec) {
|
||||
while (ev && (int)ev->time.seconds < last_entry->sec) {
|
||||
width = hAxis->posAtValue(ev->time.seconds) - hAxis->posAtValue(startTime);
|
||||
left = hAxis->posAtValue(startTime);
|
||||
createBar(left, width, gasmix);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue