projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8a636
)
Don't show "last position" marks in position gauge.
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 10 Nov 2008 02:36:06 +0000
(
03:36
+0100)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 10 Nov 2008 02:36:06 +0000
(
03:36
+0100)
fixes #41
lib/gui/epositiongauge.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/epositiongauge.cpp
b/lib/gui/epositiongauge.cpp
index
4785d7a
..
b3ee511
100644
(file)
--- a/
lib/gui/epositiongauge.cpp
+++ b/
lib/gui/epositiongauge.cpp
@@
-126,13
+126,17
@@
int ePositionGauge::event(int event, void *data, void *data2)
continue;
} else if (i->what == 1) /* out */
out = i++->where;
- else /* mark */
+ else
if (i->what == 2)
/* mark */
{
int xm = scale(i->where);
painter.setForegroundColor(gRGB(0xFF8080));
painter.fill(eRect(xm - 2, 0, 4, s.height()));
i++;
continue;
+ } else /* other marker, like last position */
+ {
+ ++i;
+ continue;
}
}