Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 588:e8881f405b8f
Full-screen fixes
author | Chris Cannam |
---|---|
date | Fri, 19 Jul 2013 15:45:40 +0100 |
parents | 0b094b0fdcc4 |
children | e37154e52d89 |
line wrap: on
line diff
--- a/main/MainWindow.cpp Fri Jul 19 15:15:17 2013 +0100 +++ b/main/MainWindow.cpp Fri Jul 19 15:45:40 2013 +0100 @@ -375,6 +375,11 @@ void MainWindow::goFullScreen() { + if (m_viewManager->getZoomWheelsEnabled()) { + // The wheels seem to end up in the wrong place in full-screen mode + toggleZoomWheels(); + } + QWidget *ps = m_mainScroll->takeWidget(); ps->setParent(0); @@ -409,6 +414,7 @@ if (sc) delete sc; } + m_paneStack->showNormal(); m_mainScroll->setWidget(m_paneStack); }