Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
455
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
ed8a1a1a
Commit
ed8a1a1a
authored
11 years ago
by
Jean-Baptiste Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Qt: use Q_OS_* in timetooltip for Win32 and OS/2
It might need more testing in some X11 setups on Windows
parent
104e257c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt4/util/timetooltip.cpp
+2
-2
2 additions, 2 deletions
modules/gui/qt4/util/timetooltip.cpp
with
2 additions
and
2 deletions
modules/gui/qt4/util/timetooltip.cpp
+
2
−
2
View file @
ed8a1a1a
...
...
@@ -42,7 +42,7 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
// a paintEvent occurs. This should save some CPU cycles.
setAttribute
(
Qt
::
WA_OpaquePaintEvent
);
#if defined( Q_
W
S_WIN ) || defined( Q_
W
S_
PM
)
#if defined( Q_
O
S_WIN ) || defined( Q_
O
S_
OS2
)
/*
- This attribute is required on Windows and OS/2 to avoid focus stealing of other windows.
- When set on Linux the TimeTooltip appears behind the FSController in fullscreen.
...
...
@@ -142,7 +142,7 @@ void TimeTooltip::setTip( const QPoint& target, const QString& time, const QStri
void
TimeTooltip
::
show
()
{
QWidget
::
setVisible
(
mInitialized
);
#ifdef Q_
W
S_
PM
#ifdef Q_
O
S_
OS2
// Bring a tooltip on the top
// Without this, tooltip does not appear on fullscreen
// from the second fullscreen state change
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment