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
3be4e19f
Commit
3be4e19f
authored
Aug 24, 2007
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix one segfault when systray is not used
Remove useless tests
parent
a117ab7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+3
-3
No files found.
modules/gui/qt4/main_interface.cpp
View file @
3be4e19f
...
@@ -188,7 +188,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
...
@@ -188,7 +188,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/* Naming in the controller */
/* Naming in the controller */
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
setName
(
QString
)
);
setName
(
QString
)
);
if
(
config_GetInt
(
p_intf
,
"qt-system-tray"
)
&&
sysTray
)
if
(
sysTray
)
{
{
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
updateSystrayTooltipName
(
QString
)
);
updateSystrayTooltipName
(
QString
)
);
...
@@ -201,7 +201,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
...
@@ -201,7 +201,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/* PLAY_STATUS */
/* PLAY_STATUS */
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
setStatus
(
int
)
);
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
,
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
updateSystrayTooltipStatus
(
int
)
);
updateSystrayTooltipStatus
(
int
)
);
...
@@ -887,7 +887,7 @@ void MainInterface::setName( QString name )
...
@@ -887,7 +887,7 @@ void MainInterface::setName( QString name )
void
MainInterface
::
setStatus
(
int
status
)
void
MainInterface
::
setStatus
(
int
status
)
{
{
controls
->
setStatus
(
status
);
controls
->
setStatus
(
status
);
if
(
sys
trayMenu
)
if
(
sys
Tray
)
updateSystrayMenu
(
status
);
updateSystrayMenu
(
status
);
}
}
...
...
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