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
980861af
Commit
980861af
authored
Sep 09, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore the interface when it's minimized and you click on the systray icon.
parent
e116212b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+8
-3
No files found.
modules/gui/qt4/main_interface.cpp
View file @
980861af
...
...
@@ -186,9 +186,9 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/* It is also connected to the control->slider, see the ControlsWidget */
CONNECT
(
THEMIM
->
getIM
(),
positionUpdated
(
float
,
int
,
int
),
this
,
setDisplayPosition
(
float
,
int
,
int
)
);
CONNECT
(
THEMIM
->
getIM
(),
rateChanged
(
int
),
this
,
setRate
(
int
)
);
/** Connects on nameChanged() */
/* Naming in the controller statusbar */
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
...
...
@@ -740,7 +740,7 @@ void MainInterface::createSystray()
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
,
true
);
sysTray
->
show
();
CONNECT
(
sysTray
,
activated
(
QSystemTrayIcon
::
ActivationReason
),
CONNECT
(
sysTray
,
activated
(
QSystemTrayIcon
::
ActivationReason
),
this
,
handleSystrayClick
(
QSystemTrayIcon
::
ActivationReason
)
);
}
...
...
@@ -764,6 +764,11 @@ void MainInterface::toggleUpdateSystrayMenu()
show
();
activateWindow
();
}
else
if
(
isMinimized
()
)
{
showNormal
();
activateWindow
();
}
else
{
#ifdef WIN32
...
...
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