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
cb3168c7
Commit
cb3168c7
authored
Mar 08, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old login dialog code
parent
77c9756c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
28 deletions
+1
-28
modules/gui/qt4/dialogs/interaction.cpp
modules/gui/qt4/dialogs/interaction.cpp
+1
-28
No files found.
modules/gui/qt4/dialogs/interaction.cpp
View file @
cb3168c7
...
...
@@ -72,28 +72,6 @@ InteractionDialog::InteractionDialog( intf_thread_t *_p_intf,
i_ret
=
cancelBox
.
exec
();
msg_Dbg
(
p_intf
,
"Warning %i %i"
,
i_ret
,
cancelBox
.
result
()
);
}
else
if
(
p_dialog
->
i_flags
&
DIALOG_LOGIN_PW_OK_CANCEL
)
{
dialog
=
new
QWidget
;
layout
=
new
QVBoxLayout
(
dialog
);
layout
->
setMargin
(
2
);
panel
=
new
QWidget
(
dialog
);
QGridLayout
*
grid
=
new
QGridLayout
;
description
=
new
QLabel
(
qfu
(
p_dialog
->
psz_description
)
);
grid
->
addWidget
(
description
,
0
,
0
,
1
,
2
);
grid
->
addWidget
(
new
QLabel
(
qtr
(
"Login"
)
),
1
,
0
);
loginEdit
=
new
QLineEdit
;
grid
->
addWidget
(
loginEdit
,
1
,
1
);
grid
->
addWidget
(
new
QLabel
(
qtr
(
"Password"
)
),
2
,
0
);
passwordEdit
=
new
QLineEdit
;
passwordEdit
->
setEchoMode
(
QLineEdit
::
Password
);
grid
->
addWidget
(
passwordEdit
,
2
,
1
);
panel
->
setLayout
(
grid
);
layout
->
addWidget
(
panel
);
}
else
if
(
(
p_dialog
->
i_flags
&
DIALOG_INTF_PROGRESS
)
||
(
p_dialog
->
i_flags
&
DIALOG_USER_PROGRESS
)
)
{
...
...
@@ -223,12 +201,7 @@ void InteractionDialog::Finish( int i_ret )
vlc_mutex_lock
(
p_dialog
->
p_lock
);
/* Special cases when we have to return psz to the core */
if
(
p_dialog
->
i_flags
&
DIALOG_LOGIN_PW_OK_CANCEL
)
{
p_dialog
->
psz_returned
[
0
]
=
strdup
(
qtu
(
loginEdit
->
text
()
)
);
p_dialog
->
psz_returned
[
1
]
=
strdup
(
qtu
(
passwordEdit
->
text
()
)
);
}
else
if
(
p_dialog
->
i_flags
&
DIALOG_PSZ_INPUT_OK_CANCEL
)
if
(
p_dialog
->
i_flags
&
DIALOG_PSZ_INPUT_OK_CANCEL
)
{
p_dialog
->
psz_returned
[
0
]
=
strdup
(
qtu
(
inputEdit
->
text
()
)
);
}
...
...
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