Merge branch 'master' of https://github.com/highfidelity/hifi into button-state

This commit is contained in:
howard-stearns 2016-06-30 16:49:19 -07:00
commit 125f6d8b63
3 changed files with 3 additions and 4 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)));
});
}

View file

@ -111,8 +111,8 @@ EntityListTool = function(opts) {
}
});
webView.visibilityChanged.connect(function (visible) {
if (visible) {
webView.visibleChanged.connect(function () {
if (webView.visible) {
that.sendUpdate();
}
});