mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-18 23:36:16 +00:00
[Facebook] Dont use deprecated feature
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
73c242b6eb
commit
f6ac79296e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue