mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-25 20:22:39 +01:00
Fix missing clearComponentCache for macos
This commit is contained in:
parent
66a6a30c04
commit
3240c84db8
@ -150,6 +150,7 @@ public slots:
|
||||
virtual void destroyThis() { }
|
||||
virtual void setVisible(bool show) { Q_UNUSED(show) }
|
||||
virtual void messageReceived(QString key, QString value) final;
|
||||
virtual void clearComponentCache() {}
|
||||
virtual void replaceWallpaper(
|
||||
const QString absolutePath,
|
||||
const QString file,
|
||||
|
@ -63,3 +63,8 @@ void MacWindow::destroyThis()
|
||||
{
|
||||
QCoreApplication::quit();
|
||||
}
|
||||
|
||||
void MacWindow::clearComponentCache()
|
||||
{
|
||||
m_window.engine()->clearComponentCache();
|
||||
}
|
||||
|
@ -65,6 +65,7 @@ signals:
|
||||
public slots:
|
||||
void setVisible(bool show) override;
|
||||
void destroyThis() override;
|
||||
void clearComponentCache() override;
|
||||
|
||||
private:
|
||||
QQuickView m_window;
|
||||
|
@ -73,7 +73,7 @@ public slots:
|
||||
void setVisible(bool show) override;
|
||||
void destroyThis() override;
|
||||
void terminate();
|
||||
void clearComponentCache();
|
||||
void clearComponentCache() override;
|
||||
|
||||
void setWindowsDesktopProperties(WindowsDesktopProperties* windowsDesktopProperties)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user