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
02ee6240
Commit
02ee6240
authored
Mar 27, 2010
by
Jakob Leben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: appropriate SoundSlider size
parent
9cca111d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
modules/gui/qt4/components/controller_widget.cpp
modules/gui/qt4/components/controller_widget.cpp
+0
-5
modules/gui/qt4/util/input_slider.cpp
modules/gui/qt4/util/input_slider.cpp
+1
-1
No files found.
modules/gui/qt4/components/controller_widget.cpp
View file @
02ee6240
...
...
@@ -98,11 +98,6 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
volumeSlider
->
setMaximum
(
var_InheritBool
(
p_intf
,
"qt-volume-complete"
)
?
400
:
200
);
}
if
(
volumeSlider
->
orientation
()
==
Qt
::
Horizontal
)
{
volumeSlider
->
setMaximumSize
(
QSize
(
200
,
40
)
);
volumeSlider
->
setMinimumSize
(
QSize
(
85
,
30
)
);
}
volumeSlider
->
setFocusPolicy
(
Qt
::
NoFocus
);
if
(
b_special
)
...
...
modules/gui/qt4/util/input_slider.cpp
View file @
02ee6240
...
...
@@ -173,7 +173,7 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard,
const
QPixmap
temp
(
":/toolbar/volslide-inside"
);
const
QBitmap
mask
(
temp
.
createHeuristicMask
()
);
set
Minimum
Size
(
pixOutside
.
size
()
);
set
Fixed
Size
(
pixOutside
.
size
()
);
pixGradient
=
QPixmap
(
mask
.
size
()
);
pixGradient2
=
QPixmap
(
mask
.
size
()
);
...
...
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