Replace View_qtquick::windowIsBeingDestroyed with View::aboutToBeDestroyed
Easier if it's generic.
This commit is contained in:
10
src/View.cpp
10
src/View.cpp
@@ -341,3 +341,13 @@ HANDLE View::handle() const
|
||||
{
|
||||
return m_thisObj;
|
||||
}
|
||||
|
||||
void View::setAboutToBeDestroyed()
|
||||
{
|
||||
m_aboutToBeDestroyed = true;
|
||||
}
|
||||
|
||||
bool View::aboutToBeDestroyed() const
|
||||
{
|
||||
return m_aboutToBeDestroyed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user