From f6ac79296e3ce2be8eaed039673d1ad0aecd3fde Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 29 Sep 2017 11:28:17 +0200 Subject: [Facebook] Dont use deprecated feature Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2