mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 05:17:24 +02:00
Merge pull request #8173 from SamGondelman/snapshotFix2
Fix snapshot dialog rendering
This commit is contained in:
commit
3b57fd1faf
2 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,7 @@ import "../../windows"
|
||||||
import "../../js/Utils.js" as Utils
|
import "../../js/Utils.js" as Utils
|
||||||
import "../models"
|
import "../models"
|
||||||
|
|
||||||
ScrollingWindow {
|
Window {
|
||||||
id: root
|
id: root
|
||||||
resizable: true
|
resizable: true
|
||||||
width: 516
|
width: 516
|
||||||
|
|
|
@ -4998,7 +4998,6 @@ void Application::takeSnapshot() {
|
||||||
|
|
||||||
DependencyManager::get<OffscreenUi>()->load("hifi/dialogs/SnapshotShareDialog.qml", [=](QQmlContext*, QObject* dialog) {
|
DependencyManager::get<OffscreenUi>()->load("hifi/dialogs/SnapshotShareDialog.qml", [=](QQmlContext*, QObject* dialog) {
|
||||||
dialog->setProperty("source", QUrl::fromLocalFile(fileName));
|
dialog->setProperty("source", QUrl::fromLocalFile(fileName));
|
||||||
connect(dialog, SIGNAL(uploadSnapshot(const QString& snapshot)), this, SLOT(uploadSnapshot(const QString& snapshot)));
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue