image ratio fixed image centre position
Showing the changes to interface/src/Application.cpp (1 of 8 files). Show all
Unified · Split
| @@ -3671,5 +3671,10 @@ void Application::takeSnapshot() { · 3670 unmodified lines | |||
| 3671 | player->setMedia(QUrl::fromLocalFile(inf.absoluteFilePath())); | 3671 | player->setMedia(QUrl::fromLocalFile(inf.absoluteFilePath())); |
| 3672 | player->play(); | 3672 | player->play(); |
| 3673 | 3673 | ||
| 3674 | Snapshot::saveSnapshot(_glWidget, _myAvatar); | 3674 | QString fileName = Snapshot::saveSnapshot(_glWidget, _myAvatar); |
| 3675 | |||
| 3676 | if (!_snapshotShareDialog) { | ||
| 3677 | _snapshotShareDialog = new SnapshotShareDialog(fileName, _glWidget); | ||
| 3678 | } | ||
| 3679 | _snapshotShareDialog->exec(); | ||
| 3675 | } | 3680 | } |