Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
44649aae
Commit
44649aae
authored
Aug 27, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug with slider positionning
parent
fded9ae5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/gui/qt4/util/directslider.hpp
modules/gui/qt4/util/directslider.hpp
+1
-1
modules/gui/qt4/util/input_slider.cpp
modules/gui/qt4/util/input_slider.cpp
+1
-1
No files found.
modules/gui/qt4/util/directslider.hpp
View file @
44649aae
...
@@ -48,7 +48,7 @@ public:
...
@@ -48,7 +48,7 @@ public:
#endif
#endif
int
pos
=
(
int
)(
minimum
()
+
int
pos
=
(
int
)(
minimum
()
+
(
double
)(
event
->
x
())
/
width1
*
(
maximum
()
-
minimum
())
);
(
double
)(
event
->
x
())
/
width1
*
(
maximum
()
-
minimum
())
);
set
SliderPosition
(
pos
);
set
Value
(
pos
);
QSlider
::
mousePressEvent
(
event
);
QSlider
::
mousePressEvent
(
event
);
}
}
}
}
...
...
modules/gui/qt4/util/input_slider.cpp
View file @
44649aae
...
@@ -35,7 +35,7 @@ InputSlider::InputSlider( Qt::Orientation q,QWidget *_parent ) :
...
@@ -35,7 +35,7 @@ InputSlider::InputSlider( Qt::Orientation q,QWidget *_parent ) :
setMinimum
(
0
);
setMinimum
(
0
);
setMaximum
(
1000
);
setMaximum
(
1000
);
setSingleStep
(
2
);
setSingleStep
(
2
);
setPageStep
(
10
00
);
setPageStep
(
10
);
setTracking
(
true
);
setTracking
(
true
);
connect
(
this
,
SIGNAL
(
valueChanged
(
int
)
),
this
,
SLOT
(
userDrag
(
int
)
)
);
connect
(
this
,
SIGNAL
(
valueChanged
(
int
)
),
this
,
SLOT
(
userDrag
(
int
)
)
);
}
}
...
...
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