diff options
-rw-r--r-- | desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp index 6ade8218f..f53786a2f 100644 --- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp +++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp @@ -174,7 +174,7 @@ void FacebookManager::sendDive() ProfileWidget2 *profile = MainWindow::instance()->graphics(); profile->setToolTipVisibile(false); - QPixmap pix = QPixmap::grabWidget(profile); + QPixmap pix = profile->grab(); profile->setToolTipVisibile(true); QByteArray bytes; QBuffer buffer(&bytes); |