diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-09-29 11:28:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-29 12:43:45 -0700 |
commit | f6ac79296e3ce2be8eaed039673d1ad0aecd3fde (patch) | |
tree | b8c5ef1bb926ae72d12653d1336798256d080500 /desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | |
parent | 73c242b6ebe786ee221ce0dfd878dba2a33cb2cd (diff) | |
download | subsurface-f6ac79296e3ce2be8eaed039673d1ad0aecd3fde.tar.gz |
[Facebook] Dont use deprecated feature
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/plugins/facebook/facebookconnectwidget.cpp')
-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); |