Diffstat (limited to 'noncore/graphics/opie-eye/gui/imageview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imageview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.cpp b/noncore/graphics/opie-eye/gui/imageview.cpp index 03df321..6c3f9cb 100644 --- a/noncore/graphics/opie-eye/gui/imageview.cpp +++ b/noncore/graphics/opie-eye/gui/imageview.cpp | |||
@@ -267,20 +267,20 @@ void ImageView::hide() | |||
267 | showNormal(); | 267 | showNormal(); |
268 | } | 268 | } |
269 | QWidget::hide(); | 269 | QWidget::hide(); |
270 | } | 270 | } |
271 | void ImageView::enableFullscreen() | 271 | void ImageView::enableFullscreen() |
272 | { | 272 | { |
273 | if (!fullScreen()) return; | 273 | if (!fullScreen()) return; |
274 | if (m_ignore_next_in) {m_ignore_next_in = false;return;} | 274 | if (m_ignore_next_in) {m_ignore_next_in = false;return;} |
275 | 275 | ||
276 | setUpdatesEnabled(false); | 276 | setUpdatesEnabled(false); |
277 | // This is needed because showNormal() forcefully changes the window | 277 | // This is needed because showNormal() forcefully changes the window |
278 | // style to WSTyle_TopLevel. | 278 | // style to WSTyle_TopLevel. |
279 | reparent(0, WStyle_Customize | WStyle_NoBorder, QPoint(0,0)); | 279 | reparent(0, WStyle_Customize | WStyle_NoBorderEx, QPoint(0,0)); |
280 | // Enable fullscreen. | 280 | // Enable fullscreen. |
281 | /* this is the trick - I don't now why, but after a showFullScreen QTE toggles the focus | 281 | /* this is the trick - I don't now why, but after a showFullScreen QTE toggles the focus |
282 | * so we must block it here! */ | 282 | * so we must block it here! */ |
283 | m_ignore_next_in = true; | 283 | m_ignore_next_in = true; |
284 | showFullScreen(); | 284 | showFullScreen(); |
285 | setUpdatesEnabled(true); | 285 | setUpdatesEnabled(true); |
286 | } | 286 | } |