History

AutoUpdate is now a singleton invoked via Dependency Manager, first steps towards QML update notification

Leonardo Murillo committed 11 years ago

Commit b60597a1 parent 2aa7ce58 files · +111 −10Browse files

Showing the changes to interface/src/ui/UpdateDialog.cpp (1 of 8 files). Show all

Unified · Split

interface/src/ui/UpdateDialog.cpp+20−0
@@ -0,0 +1,20 @@
1+//
2+// UpdateDialog.cpp
3+// hifi
4+//
5+// Created by Leonardo Murillo on 6/3/15.
6+//
7+//
8+
9+#include "UpdateDialog.h"
10+#include "DependencyManager.h"
11+
12+HIFI_QML_DEF(UpdateDialog)
13+
14+UpdateDialog::UpdateDialog(QQuickItem* parent) : OffscreenQmlDialog(parent) {
15+
16+}
17+
18+void UpdateDialog::hide() {
19+ ((QQuickItem*)parent())->setEnabled(false);
20+}