Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
67a47c15
Commit
67a47c15
authored
Sep 11, 2009
by
Ludovic Fauvet
Browse files
Timeline: fix a painting bug in the main separator
parent
51727d9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/GUI/TracksView.cpp
View file @
67a47c15
...
...
@@ -461,12 +461,14 @@ void TracksView::drawBackground( QPainter* painter, const QRectF& rect )
QRectF
r
=
rect
;
r
.
setWidth
(
r
.
width
()
+
1
);
m_separator
->
setVisible
(
false
);
painter
->
setWorldMatrixEnabled
(
false
);
painter
->
setBrush
(
QBrush
(
palette
().
dark
().
color
(),
Qt
::
Dense3Pattern
)
);
painter
->
setPen
(
Qt
::
transparent
);
painter
->
drawRect
(
(
int
)
r
.
left
(),
(
int
)
m_separator
->
y
()
+
2
,
//FIXME this is a hack
(
int
)
r
.
right
(),
(
int
)
m_separator
->
boundingRect
().
height
()
);
painter
->
drawRect
(
0
,
(
int
)
m_separator
->
y
(),
(
int
)
r
.
right
(),
(
int
)
m_separator
->
boundingRect
().
height
()
);
}
void
TracksView
::
mouseMoveEvent
(
QMouseEvent
*
event
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment