mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 21:26:25 +02:00
fix snapshot sharing window
This commit is contained in:
parent
49e5f668c1
commit
69ffd63ba7
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