diff options
Diffstat (limited to 'WebKitTools/QtTestBrowser/launcherwindow.cpp')
-rw-r--r-- | WebKitTools/QtTestBrowser/launcherwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebKitTools/QtTestBrowser/launcherwindow.cpp b/WebKitTools/QtTestBrowser/launcherwindow.cpp index 9b7aa0d..3b47f29 100644 --- a/WebKitTools/QtTestBrowser/launcherwindow.cpp +++ b/WebKitTools/QtTestBrowser/launcherwindow.cpp @@ -617,6 +617,10 @@ void LauncherWindow::screenshot() pixmap.save(fileName, "png"); label->setWindowTitle(QString("Screenshot - Saved at %1").arg(fileName)); } + +#if defined(QT_CONFIGURED_WITH_OPENGL) + toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport); +#endif } void LauncherWindow::setEditable(bool on) |