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
975477f7
Commit
975477f7
authored
May 25, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: simplify
parent
ca0d201f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+1
-4
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 @
975477f7
...
...
@@ -209,7 +209,6 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/* VideoWidget connects for asynchronous calls */
b_videoFullScreen
=
false
;
b_videoOnTop
=
false
;
connect
(
this
,
SIGNAL
(
askGetVideo
(
WId
*
,
int
*
,
int
*
,
unsigned
*
,
unsigned
*
)),
this
,
SLOT
(
getVideoSlot
(
WId
*
,
int
*
,
int
*
,
unsigned
*
,
unsigned
*
)),
Qt
::
BlockingQueuedConnection
);
...
...
@@ -676,11 +675,9 @@ void MainInterface::setVideoFullScreen( bool fs )
* Emit askVideoOnTop() to invoke this from other thread. */
void
MainInterface
::
setVideoOnTop
(
bool
on_top
)
{
b_videoOnTop
=
on_top
;
Qt
::
WindowFlags
oldflags
=
windowFlags
(),
newflags
;
if
(
b_videoOnT
op
)
if
(
on_t
op
)
newflags
=
oldflags
|
Qt
::
WindowStaysOnTopHint
;
else
newflags
=
oldflags
&
~
Qt
::
WindowStaysOnTopHint
;
...
...
modules/gui/qt4/main_interface.hpp
View file @
975477f7
...
...
@@ -158,7 +158,6 @@ private:
bool
b_autoresize
;
///< persistent resizable window
bool
b_videoEmbedded
;
///< Want an external Video Window
bool
b_videoFullScreen
;
///< --fullscreen
bool
b_videoOnTop
;
///< --video-on-top
bool
b_hideAfterCreation
;
bool
b_minimalView
;
///< Minimal video
bool
b_interfaceFullScreen
;
...
...
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