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
212ac2d4
Commit
212ac2d4
authored
Dec 29, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: avoid slots duplication. Remove one connects too.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
f7a97201
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
13 deletions
+3
-13
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+3
-12
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+0
-1
No files found.
modules/gui/qt4/main_interface.cpp
View file @
212ac2d4
...
@@ -176,9 +176,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
...
@@ -176,9 +176,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/**
/**
* CONNECTS on PLAY_STATUS
* CONNECTS on PLAY_STATUS
**/
**/
/* Status on the main controller */
/* Status on the systray */
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
setStatus
(
int
)
);
/* and in the systray */
if
(
sysTray
)
if
(
sysTray
)
{
{
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
...
@@ -828,15 +826,6 @@ void MainInterface::setName( QString name )
...
@@ -828,15 +826,6 @@ void MainInterface::setName( QString name )
nameLabel
->
setToolTip
(
" "
+
name
+
" "
);
nameLabel
->
setToolTip
(
" "
+
name
+
" "
);
}
}
void
MainInterface
::
setStatus
(
int
status
)
{
msg_Dbg
(
p_intf
,
"Updating the stream status: %i"
,
status
);
/* And in the systray for the menu */
if
(
sysTray
)
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
/*****************************************************************************
/*****************************************************************************
* Systray Icon and Systray Menu
* Systray Icon and Systray Menu
*****************************************************************************/
*****************************************************************************/
...
@@ -948,6 +937,8 @@ void MainInterface::updateSystrayTooltipName( QString name )
...
@@ -948,6 +937,8 @@ void MainInterface::updateSystrayTooltipName( QString name )
QSystemTrayIcon
::
NoIcon
,
3000
);
QSystemTrayIcon
::
NoIcon
,
3000
);
}
}
}
}
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
}
/**
/**
...
...
modules/gui/qt4/main_interface.hpp
View file @
212ac2d4
...
@@ -161,7 +161,6 @@ public slots:
...
@@ -161,7 +161,6 @@ public slots:
private
slots
:
private
slots
:
void
debug
();
void
debug
();
void
doComponentsUpdate
();
void
doComponentsUpdate
();
void
setStatus
(
int
);
void
setName
(
QString
);
void
setName
(
QString
);
void
setVLCWindowsTitle
(
QString
title
=
""
);
void
setVLCWindowsTitle
(
QString
title
=
""
);
#if 0
#if 0
...
...
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