Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
3be4e19f
Commit
3be4e19f
authored
Aug 24, 2007
by
Christophe Mutricy
Browse files
Fix one segfault when systray is not used
Remove useless tests
parent
a117ab7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/main_interface.cpp
View file @
3be4e19f
...
...
@@ -188,7 +188,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/* Naming in the controller */
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
setName
(
QString
)
);
if
(
config_GetInt
(
p_intf
,
"qt-system-tray"
)
&&
sysTray
)
if
(
sysTray
)
{
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
updateSystrayTooltipName
(
QString
)
);
...
...
@@ -201,7 +201,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/* PLAY_STATUS */
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
setStatus
(
int
)
);
if
(
config_GetInt
(
p_intf
,
"qt-system-tray"
)
&&
sysTray
)
if
(
sysTray
)
{
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
updateSystrayTooltipStatus
(
int
)
);
...
...
@@ -887,7 +887,7 @@ void MainInterface::setName( QString name )
void
MainInterface
::
setStatus
(
int
status
)
{
controls
->
setStatus
(
status
);
if
(
sys
t
ray
Menu
)
if
(
sys
T
ray
)
updateSystrayMenu
(
status
);
}
...
...
Write
Preview
Supports
Markdown
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