fix snapshot sharing window

This commit is contained in:
SamGondelman 2016-06-30 15:42:48 -07:00
parent 49e5f668c1
commit 69ffd63ba7
2 changed files with 1 additions and 2 deletions

View file

@ -7,7 +7,7 @@ import "../../windows"
import "../../js/Utils.js" as Utils
import "../models"
ScrollingWindow {
Window {
id: root
resizable: true
width: 516

View file

@ -4998,7 +4998,6 @@ void Application::takeSnapshot() {
DependencyManager::get<OffscreenUi>()->load("hifi/dialogs/SnapshotShareDialog.qml", [=](QQmlContext*, QObject* dialog) {
dialog->setProperty("source", QUrl::fromLocalFile(fileName));
connect(dialog, SIGNAL(uploadSnapshot(const QString& snapshot)), this, SLOT(uploadSnapshot(const QString& snapshot)));
});
}