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
084b43a6
Commit
084b43a6
authored
Aug 31, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unblocks SIGCHLD at the beginning of the thread
parent
8fd71e10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+11
-12
No files found.
modules/gui/qt4/qt4.cpp
View file @
084b43a6
...
@@ -196,6 +196,17 @@ static void Init( intf_thread_t *p_intf )
...
@@ -196,6 +196,17 @@ static void Init( intf_thread_t *p_intf )
char
dummy
[]
=
""
;
char
dummy
[]
=
""
;
char
*
argv
[]
=
{
dummy
};
char
*
argv
[]
=
{
dummy
};
int
argc
=
1
;
int
argc
=
1
;
#ifndef WIN32
/* unblocks SIGCHLD as that makes the app hang when cleanlooks style is used
* ( when launching gconftool-2 to get the icon theme ) */
sigset_t
set
;
sigemptyset
(
&
set
);
sigaddset
(
&
set
,
SIGCHLD
);
pthread_sigmask
(
SIG_UNBLOCK
,
&
set
,
NULL
);
#endif
Q_INIT_RESOURCE
(
vlc
);
Q_INIT_RESOURCE
(
vlc
);
QApplication
*
app
=
new
QApplication
(
argc
,
argv
,
true
);
QApplication
*
app
=
new
QApplication
(
argc
,
argv
,
true
);
app
->
setWindowIcon
(
QIcon
(
QPixmap
(
vlc_xpm
)
)
);
app
->
setWindowIcon
(
QIcon
(
QPixmap
(
vlc_xpm
)
)
);
...
@@ -213,19 +224,7 @@ static void Init( intf_thread_t *p_intf )
...
@@ -213,19 +224,7 @@ static void Init( intf_thread_t *p_intf )
}
}
if
(
p_intf
->
pf_show_dialog
)
if
(
p_intf
->
pf_show_dialog
)
{
vlc_thread_ready
(
p_intf
);
vlc_thread_ready
(
p_intf
);
#ifndef WIN32
/* unblocks SIGCHLD as that makes the app hang
* when cleanlooks style is used with QT4
* ( exactly when launching gconftool-2 to get the icon theme ) */
sigset_t
set
;
sigemptyset
(
&
set
);
sigaddset
(
&
set
,
SIGCHLD
);
pthread_sigmask
(
SIG_UNBLOCK
,
&
set
,
NULL
);
#endif
}
/* Start playing if needed */
/* Start playing if needed */
if
(
!
p_intf
->
pf_show_dialog
&&
p_intf
->
b_play
)
if
(
!
p_intf
->
pf_show_dialog
&&
p_intf
->
b_play
)
...
...
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