Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index ec6b051..fa1680c 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp | |||
@@ -328,13 +328,13 @@ void PMainWindow::slotToggleFullScreen() | |||
328 | m_disp->setFullScreen(current); | 328 | m_disp->setFullScreen(current); |
329 | odebug << "Current = " << current << oendl; | 329 | odebug << "Current = " << current << oendl; |
330 | if (current) { | 330 | if (current) { |
331 | odebug << "full" << oendl; | 331 | odebug << "full" << oendl; |
332 | m_disp->setBackgroundColor(black); | 332 | m_disp->setBackgroundColor(black); |
333 | if (!tFrame) { | 333 | if (!tFrame) { |
334 | tFrame = new QWidget(0,0,WStyle_Customize|WStyle_NoBorder); | 334 | tFrame = new ImageWidget(0,0,WStyle_Customize|WStyle_NoBorder); |
335 | tFrame->resize(qApp->desktop()->width(), qApp->desktop()->height()); | 335 | tFrame->resize(qApp->desktop()->width(), qApp->desktop()->height()); |
336 | tFrame->setMinimumSize(qApp->desktop()->width(), qApp->desktop()->height()); | 336 | tFrame->setMinimumSize(qApp->desktop()->width(), qApp->desktop()->height()); |
337 | } | 337 | } |
338 | m_disp->reparent(tFrame,QPoint(0,0)); | 338 | m_disp->reparent(tFrame,QPoint(0,0)); |
339 | m_disp->setVScrollBarMode(QScrollView::AlwaysOff); | 339 | m_disp->setVScrollBarMode(QScrollView::AlwaysOff); |
340 | m_disp->setHScrollBarMode(QScrollView::AlwaysOff); | 340 | m_disp->setHScrollBarMode(QScrollView::AlwaysOff); |
@@ -395,14 +395,14 @@ void PMainWindow::slotDisplay( const QString& inf ) { | |||
395 | nextButton->show(); | 395 | nextButton->show(); |
396 | upButton->hide(); | 396 | upButton->hide(); |
397 | fsButton->hide(); | 397 | fsButton->hide(); |
398 | viewModeButton->hide(); | 398 | viewModeButton->hide(); |
399 | } | 399 | } |
400 | if (m_disp->fullScreen()) { | 400 | if (m_disp->fullScreen()) { |
401 | tFrame->setActiveWindow(); | 401 | // tFrame->showFullScreen(); |
402 | tFrame->showFullScreen(); | 402 | m_disp->enableFullscreen(); |
403 | } else { | 403 | } else { |
404 | m_stack->raiseWidget( ImageDisplay ); | 404 | m_stack->raiseWidget( ImageDisplay ); |
405 | } | 405 | } |
406 | } | 406 | } |
407 | 407 | ||
408 | void PMainWindow::slotReturn() { | 408 | void PMainWindow::slotReturn() { |