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
be84b46a
Commit
be84b46a
authored
Jan 22, 2009
by
Jean-Philippe Andre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: re-enable services dicovery and fix them
parent
bd6810fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+2
-1
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+6
-4
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
be84b46a
...
...
@@ -641,11 +641,12 @@ void DialogsProvider::menuUpdateAction( QObject *data )
void
DialogsProvider
::
SDMenuAction
(
QString
data
)
{
c
onst
char
*
psz_sd
=
qtu
(
data
);
c
har
*
psz_sd
=
strdup
(
qtu
(
data
)
);
if
(
!
playlist_IsServicesDiscoveryLoaded
(
THEPL
,
psz_sd
)
)
playlist_ServicesDiscoveryAdd
(
THEPL
,
psz_sd
);
else
playlist_ServicesDiscoveryRemove
(
THEPL
,
psz_sd
);
free
(
psz_sd
);
}
/**
...
...
modules/gui/qt4/menus.cpp
View file @
be84b46a
...
...
@@ -398,14 +398,16 @@ QMenu *QVLCMenu::ViewMenu( intf_thread_t *p_intf,
bool
with_intf
)
{
QMenu
*
menu
=
new
QMenu
(
current
);
QAction
*
act
;
if
(
mi
)
{
QAction
*
act
=
menu
->
addAction
(
QIcon
(
":/playlist_menu"
),
qtr
(
"Play&list..."
)
,
mi
,
SLOT
(
togglePlaylist
()
),
qtr
(
"Ctrl+L"
)
);
act
=
menu
->
addAction
(
QIcon
(
":/playlist_menu"
),
qtr
(
"Play&list..."
),
mi
,
SLOT
(
togglePlaylist
()
),
qtr
(
"Ctrl+L"
)
);
act
->
setData
(
"_static_"
);
}
menu
->
addMenu
(
SDMenu
(
p_intf
)
);
act
=
menu
->
addMenu
(
SDMenu
(
p_intf
)
);
act
->
setData
(
"_static_"
);
/*menu->addSeparator();
menu->addAction( qtr( "Undock from Interface" ), mi,
SLOT( undockPlaylist() ), qtr( "Ctrl+U" ) );*/
...
...
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