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
e4f5b367
Commit
e4f5b367
authored
Apr 07, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix switching to minimalView behaviour
Especially when playlist is opened.
parent
8f17ce9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
26 deletions
+6
-26
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+6
-26
No files found.
modules/gui/qt4/main_interface.cpp
View file @
e4f5b367
...
@@ -734,22 +734,13 @@ void MainInterface::dockPlaylist( bool p_docked )
...
@@ -734,22 +734,13 @@ void MainInterface::dockPlaylist( bool p_docked )
void
MainInterface
::
toggleMinimalView
(
bool
b_switch
)
void
MainInterface
::
toggleMinimalView
(
bool
b_switch
)
{
{
if
(
i_visualmode
==
0
)
if
(
i_visualmode
==
0
)
{
/* NORMAL MODE then */
{
if
(
!
videoWidget
||
stackCentralW
->
currentWidget
()
!=
videoWidget
)
if
(
stackCentralW
->
currentWidget
()
==
bgWidget
)
{
showBg
();
}
else
{
{
/* If video is visible, then toggle the status of bgWidget */
if
(
stackCentralW
->
height
()
<
16
)
//FIXME
{
//bgWasVisible = !bgWasVisible;
resizeStack
(
stackCentralW
->
width
(),
100
);
/* if( stackCentralOldState == BACK G_TAB )
}
stackCentralOldState = HID DEN_TAB;
else
stackCentralOldState = BACK G_TAB;
*/
}
}
}
}
...
@@ -1055,17 +1046,6 @@ void MainInterface::dragLeaveEvent(QDragLeaveEvent *event)
...
@@ -1055,17 +1046,6 @@ void MainInterface::dragLeaveEvent(QDragLeaveEvent *event)
************************************************************************/
************************************************************************/
void
MainInterface
::
customEvent
(
QEvent
*
event
)
void
MainInterface
::
customEvent
(
QEvent
*
event
)
{
{
#if 0
if( event->type() == PLDockEvent_Type )
{
PlaylistDialog::killInstance();
playlistEmbeddedFlag = true;
menuBar()->clear();
QVLCMenu::createMenuBar(this, p_intf, true, visualSelectorEnabled);
togglePlaylist();
}
#endif
/*else */
if
(
event
->
type
()
==
(
int
)
SetVideoOnTopEvent_Type
)
if
(
event
->
type
()
==
(
int
)
SetVideoOnTopEvent_Type
)
{
{
SetVideoOnTopQtEvent
*
p_event
=
(
SetVideoOnTopQtEvent
*
)
event
;
SetVideoOnTopQtEvent
*
p_event
=
(
SetVideoOnTopQtEvent
*
)
event
;
...
...
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