mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-13 19:30:11 +02:00
21 lines
520 B
C++
21 lines
520 B
C++
//
|
|
// GLCanvas.cpp
|
|
// interface/src
|
|
//
|
|
// Created by Stephen Birarda on 8/14/13.
|
|
// Copyright 2013 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
|
|
//
|
|
|
|
// FIXME ordering of headers
|
|
#include "Application.h"
|
|
#include "GLCanvas.h"
|
|
|
|
bool GLCanvas::event(QEvent* event) {
|
|
if (QEvent::Paint == event->type() && qApp->isAboutToQuit()) {
|
|
return true;
|
|
}
|
|
return GLWidget::event(event);
|
|
}
|