mirror of
https://github.com/overte-org/overte.git
synced 2025-06-19 02:41:19 +02:00
18 lines
478 B
C++
18 lines
478 B
C++
//
|
|
// OffscreenQmlDialog.cpp
|
|
//
|
|
// Created by Bradley Austin Davis on 2015/04/14
|
|
// Copyright 2015 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include "OffscreenQmlDialog.h"
|
|
|
|
OffscreenQmlDialog::OffscreenQmlDialog(QQuickItem* parent)
|
|
: QQuickItem(parent) { }
|
|
|
|
void OffscreenQmlDialog::hide() {
|
|
((QQuickItem *)parent())->setEnabled(false);
|
|
}
|