Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
bafe1e39
Commit
bafe1e39
authored
Mar 16, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: SeekStyle: fix boundaries truncated handle glitch
parent
3013997d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
modules/gui/qt4/styles/seekstyle.cpp
modules/gui/qt4/styles/seekstyle.cpp
+13
-4
No files found.
modules/gui/qt4/styles/seekstyle.cpp
View file @
bafe1e39
...
@@ -48,10 +48,19 @@ int SeekStyle::pixelMetric( PixelMetric metric, const QStyleOption *option, cons
...
@@ -48,10 +48,19 @@ int SeekStyle::pixelMetric( PixelMetric metric, const QStyleOption *option, cons
{
{
const
QStyleOptionSlider
*
slider
;
const
QStyleOptionSlider
*
slider
;
if
(
widget
&&
metric
==
QStyle
::
PM_SliderThickness
&&
(
slider
=
qstyleoption_cast
<
const
QStyleOptionSlider
*>
(
option
)
)
)
if
(
widget
&&
(
slider
=
qstyleoption_cast
<
const
QStyleOptionSlider
*>
(
option
)
)
)
return
widget
->
minimumSize
().
height
();
{
else
switch
(
metric
)
return
QProxyStyle
::
pixelMetric
(
metric
,
option
,
widget
);
{
case
QStyle
:
:
PM_SliderThickness
:
case
QStyle
:
:
PM_SliderLength
:
return
widget
->
minimumSize
().
height
();
default:
break
;
}
}
return
QProxyStyle
::
pixelMetric
(
metric
,
option
,
widget
);
}
}
void
SeekStyle
::
drawComplexControl
(
ComplexControl
cc
,
const
QStyleOptionComplex
*
option
,
QPainter
*
painter
,
const
QWidget
*
widget
)
const
void
SeekStyle
::
drawComplexControl
(
ComplexControl
cc
,
const
QStyleOptionComplex
*
option
,
QPainter
*
painter
,
const
QWidget
*
widget
)
const
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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