Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
pulsatingscience
Commits
88dcf497
Commit
88dcf497
authored
Mar 10, 2010
by
Oliver Bock
Browse files
API change in Qt 4.6
parent
210ed00a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pulsatingscience.cpp
View file @
88dcf497
...
...
@@ -450,7 +450,7 @@ void PulsatingScience::toggleHiddenDemoMode()
if
(
m_hiddenDemoModeActivated
)
{
#ifdef __APPLE__
// show Menubar & Dock
SetSystemUIMode
(
kUIModeNormal
,
0
);
// unavailable in Qt 4.6:
SetSystemUIMode(kUIModeNormal, 0);
window
()
->
setWindowFlags
(
windowFlags
()
&
~
Qt
::
FramelessWindowHint
&
~
Qt
::
WindowStaysOnTopHint
);
...
...
@@ -467,8 +467,8 @@ void PulsatingScience::toggleHiddenDemoMode()
else
{
#ifdef __APPLE__
// hide Menubar & Dock
SetSystemUIMode
(
kUIModeAllHidden
,
0
);
// don't ever ask m
y
why this works _only_ in exactly this order on the Mac
// unavailable in Qt 4.6:
SetSystemUIMode(kUIModeAllHidden, 0);
// don't ever ask m
e
why this works _only_ in exactly this order on the Mac
window
()
->
setWindowFlags
(
windowFlags
()
|
Qt
::
FramelessWindowHint
|
Qt
::
WindowStaysOnTopHint
);
...
...
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