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
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