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
ed9cd68c
Commit
ed9cd68c
authored
Jan 25, 2010
by
Jakob Leben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: better function name
parent
0b49fce1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+3
-3
modules/gui/qt4/components/playlist/standardpanel.hpp
modules/gui/qt4/components/playlist/standardpanel.hpp
+1
-1
No files found.
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
ed9cd68c
...
...
@@ -107,7 +107,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
CONNECT
(
treeView
->
header
(),
customContextMenuRequested
(
const
QPoint
&
),
this
,
popupSelectColumn
(
QPoint
)
);
CONNECT
(
treeView
,
customContextMenuRequested
(
const
QPoint
&
),
this
,
p
laylistPopup
(
const
QPoint
&
)
);
this
,
p
opupPlView
(
const
QPoint
&
)
);
CONNECT
(
model
,
currentChanged
(
const
QModelIndex
&
),
this
,
handleExpansion
(
const
QModelIndex
&
)
);
...
...
@@ -213,7 +213,7 @@ void StandardPLPanel::popupSelectColumn( QPoint pos )
menu
.
exec
(
QCursor
::
pos
()
);
}
void
StandardPLPanel
::
p
laylistPopup
(
const
QPoint
&
point
)
void
StandardPLPanel
::
p
opupPlView
(
const
QPoint
&
point
)
{
QAbstractItemView
*
aView
;
if
(
treeView
->
isVisible
()
)
aView
=
treeView
;
...
...
@@ -312,7 +312,7 @@ void StandardPLPanel::toggleView()
layout
->
addWidget
(
iconView
,
1
,
0
,
1
,
-
1
);
iconView
->
setContextMenuPolicy
(
Qt
::
CustomContextMenu
);
CONNECT
(
iconView
,
customContextMenuRequested
(
const
QPoint
&
),
this
,
p
laylistPopup
(
const
QPoint
&
)
);
this
,
p
opupPlView
(
const
QPoint
&
)
);
}
treeView
->
hide
();
iconView
->
show
();
...
...
modules/gui/qt4/components/playlist/standardpanel.hpp
View file @
ed9cd68c
...
...
@@ -85,9 +85,9 @@ private slots:
void
search
(
const
QString
&
searchText
);
void
popupAdd
();
void
popupSelectColumn
(
QPoint
);
void
popupPlView
(
const
QPoint
&
);
void
toggleColumnShown
(
int
);
void
toggleView
();
void
playlistPopup
(
const
QPoint
&
);
};
#endif
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