mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 16:40:13 +02:00
18 lines
488 B
C++
18 lines
488 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() {
|
|
static_cast<QQuickItem*>(parent())->setEnabled(false);
|
|
}
|