Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ad74fb3b
Commit
ad74fb3b
authored
Sep 08, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Cleanups, simplifications. Public=>Private for slots.
parent
42e7ea08
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
9 deletions
+13
-9
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+1
-1
modules/gui/qt4/dialogs/podcast_configuration.cpp
modules/gui/qt4/dialogs/podcast_configuration.cpp
+1
-0
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+1
-1
modules/gui/qt4/dialogs/sout.hpp
modules/gui/qt4/dialogs/sout.hpp
+7
-4
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+3
-3
No files found.
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
ad74fb3b
...
...
@@ -204,7 +204,7 @@ void MediaInfoDialog::close()
MP
->
setEditMode
(
false
);
}
void
MediaInfoDialog
::
(
int
i_tab
)
void
MediaInfoDialog
::
updateButtons
(
int
i_tab
)
{
if
(
MP
->
isInEditMode
()
&&
i_tab
==
0
)
saveMetaButton
->
show
();
...
...
modules/gui/qt4/dialogs/podcast_configuration.cpp
View file @
ad74fb3b
...
...
@@ -27,6 +27,7 @@ PodcastConfigurationDialog::PodcastConfigurationDialog( intf_thread_t *_p_intf )
:
p_intf
(
_p_intf
)
{
ui
.
setupUi
(
this
);
QPushButton
*
okButton
=
new
QPushButton
(
qtr
(
"OK"
),
this
);
QPushButton
*
cancelButton
=
new
QPushButton
(
qtr
(
"Cancel"
),
this
);
ui
.
okCancel
->
addButton
(
okButton
,
QDialogButtonBox
::
AcceptRole
);
...
...
modules/gui/qt4/dialogs/sout.cpp
View file @
ad74fb3b
...
...
@@ -133,7 +133,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf,
QString
SoutDialog
::
getMrl
()
{
return
this
->
mrl
;
return
mrl
;
}
void
SoutDialog
::
fileBrowse
()
...
...
modules/gui/qt4/dialogs/sout.hpp
View file @
ad74fb3b
...
...
@@ -43,20 +43,23 @@ public:
bool
_transcode_only
=
false
);
virtual
~
SoutDialog
()
{}
QString
getMrl
();
QString
mrl
;
QString
getMrl
();
//sout_gui_descr_t *sout;
private:
Ui
::
Sout
ui
;
QPushButton
*
okButton
;
QString
mrl
;
bool
b_transcode_only
;
public
slots
:
void
updateMRL
();
private
slots
:
void
ok
();
void
cancel
();
void
updateMRL
();
void
fileBrowse
();
void
toggleSout
();
void
setOptions
();
void
fileBrowse
();
void
setVTranscodeOptions
(
bool
);
void
setATranscodeOptions
(
bool
);
void
setSTranscodeOptions
(
bool
);
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
ad74fb3b
...
...
@@ -396,11 +396,11 @@ void DialogsProvider::streamingDialog( QString mrl, bool b_transcode_only )
b_transcode_only
);
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
{
msg_Err
(
p_intf
,
"mrl %s
\n
"
,
qta
(
s
->
mrl
)
);
msg_Err
(
p_intf
,
"mrl %s
\n
"
,
qta
(
s
->
getMrl
()
)
);
/* Just do it */
int
i_len
=
strlen
(
qtu
(
s
->
mrl
)
)
+
10
;
int
i_len
=
strlen
(
qtu
(
s
->
getMrl
()
)
)
+
10
;
char
*
psz_option
=
(
char
*
)
malloc
(
i_len
);
snprintf
(
psz_option
,
i_len
-
1
,
"%s"
,
qtu
(
s
->
mrl
)
);
snprintf
(
psz_option
,
i_len
-
1
,
"%s"
,
qtu
(
s
->
getMrl
()
)
);
playlist_AddExt
(
THEPL
,
qtu
(
mrl
),
"Streaming"
,
PLAYLIST_APPEND
|
PLAYLIST_GO
,
PLAYLIST_END
,
...
...
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