Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2cb994d6
Commit
2cb994d6
authored
May 22, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Playlist: fix scrolling events in selector
Close #4092
parent
aa446d2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+6
-0
modules/gui/qt4/components/playlist/selector.hpp
modules/gui/qt4/components/playlist/selector.hpp
+1
-0
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
2cb994d6
...
...
@@ -530,3 +530,9 @@ void PLSelector::getCurrentSelectedItem( int* type, QString *string)
*
type
=
currentItem
()
->
data
(
0
,
TYPE_ROLE
).
toInt
();
*
string
=
currentItem
()
->
data
(
0
,
NAME_ROLE
).
toString
();
}
void
PLSelector
::
wheelEvent
(
QWheelEvent
*
e
)
{
// Accept this event in order to prevent unwanted volume up/down changes
e
->
accept
();
}
modules/gui/qt4/components/playlist/selector.hpp
View file @
2cb994d6
...
...
@@ -123,6 +123,7 @@ protected:
virtual
void
dragMoveEvent
(
QDragMoveEvent
*
event
);
virtual
bool
dropMimeData
(
QTreeWidgetItem
*
,
int
,
const
QMimeData
*
,
Qt
::
DropAction
);
virtual
QStringList
mimeTypes
()
const
;
virtual
void
wheelEvent
(
QWheelEvent
*
e
);
private:
void
createItems
();
...
...
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