1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-26 12:42:34 +01:00

Add missing terminate command for osx

This commit is contained in:
Elias Steurer 2022-08-14 11:58:54 +02:00
parent cd5933a7e4
commit ff371eeba5
2 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,11 @@ void MacWindow::destroyThis()
QCoreApplication::quit(); QCoreApplication::quit();
} }
void MacWindow::terminate()
{
destroyThis();
}
void MacWindow::clearComponentCache() void MacWindow::clearComponentCache()
{ {
m_window.engine()->clearComponentCache(); m_window.engine()->clearComponentCache();

View File

@ -65,6 +65,7 @@ signals:
public slots: public slots:
void setVisible(bool show) override; void setVisible(bool show) override;
void destroyThis() override; void destroyThis() override;
void terminate();
void clearComponentCache() override; void clearComponentCache() override;
private: private: