Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
57aea111
Commit
57aea111
authored
Mar 07, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: remove intf_UserFatal back-end
parent
f6a424fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
16 deletions
+2
-16
modules/gui/qt4/dialogs/interaction.cpp
modules/gui/qt4/dialogs/interaction.cpp
+1
-14
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+1
-2
No files found.
modules/gui/qt4/dialogs/interaction.cpp
View file @
57aea111
...
...
@@ -48,20 +48,7 @@ InteractionDialog::InteractionDialog( intf_thread_t *_p_intf,
dialog
=
NULL
;
altButton
=
NULL
;
if
(
p_dialog
->
i_flags
&
DIALOG_BLOCKING_ERROR
)
{
i_ret
=
QMessageBox
::
critical
(
NULL
,
qfu
(
p_dialog
->
psz_title
),
qfu
(
p_dialog
->
psz_description
),
QMessageBox
::
Ok
,
QMessageBox
::
Ok
);
}
else
if
(
p_dialog
->
i_flags
&
DIALOG_NONBLOCKING_ERROR
)
{
if
(
config_GetInt
(
p_intf
,
"qt-error-dialogs"
)
!=
0
)
ErrorsDialog
::
getInstance
(
p_intf
)
->
addError
(
qfu
(
p_dialog
->
psz_title
),
qfu
(
p_dialog
->
psz_description
)
);
i_ret
=
QMessageBox
::
AcceptRole
;
}
else
if
(
p_dialog
->
i_flags
&
DIALOG_YES_NO_CANCEL
)
if
(
p_dialog
->
i_flags
&
DIALOG_YES_NO_CANCEL
)
{
p_dialog
->
i_status
=
SENT_DIALOG
;
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
57aea111
...
...
@@ -714,8 +714,7 @@ void DialogsProvider::doInteraction( intf_dialog_args_t *p_arg )
case
INTERACT_DESTROY
:
msg_Dbg
(
p_intf
,
"Destroy the Interaction Dialog"
);
qdialog
=
(
InteractionDialog
*
)(
p_dialog
->
p_private
);
if
(
!
p_dialog
->
i_flags
&
DIALOG_NONBLOCKING_ERROR
)
delete
qdialog
;
delete
qdialog
;
p_dialog
->
i_status
=
DESTROYED_DIALOG
;
break
;
}
...
...
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