25 lines
359 B
C++
25 lines
359 B
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#include "EditorDefs.h"
|
|
|
|
#include "WaitCursor.h"
|
|
|
|
// Qt
|
|
#include <QApplication>
|
|
|
|
|
|
WaitCursor::WaitCursor()
|
|
{
|
|
QApplication::setOverrideCursor(Qt::WaitCursor);
|
|
}
|
|
|
|
WaitCursor::~WaitCursor()
|
|
{
|
|
QApplication::restoreOverrideCursor();
|
|
}
|