diff options
Diffstat (limited to 'tools/testcon/mainwindow.cpp')
-rw-r--r-- | tools/testcon/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testcon/mainwindow.cpp b/tools/testcon/mainwindow.cpp index ae496e7..0c3d3e8 100644 --- a/tools/testcon/mainwindow.cpp +++ b/tools/testcon/mainwindow.cpp @@ -394,7 +394,7 @@ void MainWindow::on_actionControlPixmap_triggered() return; QLabel *label = new QLabel; - label->setPixmap(QPixmap::grabWidget(container)); + label->setPixmap(container->grab()); QMdiSubWindow *subWindow = m_mdiArea->addSubWindow(label); subWindow->setWindowTitle(tr("%1 - Pixmap").arg(container->windowTitle())); label->show(); |