[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
@ -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…
x
Reference in New Issue
Block a user